summaryrefslogtreecommitdiffstats
path: root/daemon/fromd/fromd.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-08 11:23:33 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-08 11:23:33 +0800
commit92e58a71d62d05a505d97f49aca4809e572a13aa (patch)
treee734e7221ede549002d091ad9090c0f0282bd098 /daemon/fromd/fromd.c
parent025b412716299fa943df505f4da4fd5cef8eb146 (diff)
downloadpttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.tar
pttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.tar.gz
pttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.tar.bz2
pttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.tar.lz
pttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.tar.xz
pttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.tar.zst
pttbbs-92e58a71d62d05a505d97f49aca4809e572a13aa.zip
Added fromd test client
Clean headers git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon/fromd/fromd.c')
-rw-r--r--daemon/fromd/fromd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/fromd/fromd.c b/daemon/fromd/fromd.c
index c8fb0b06..04f357e6 100644
--- a/daemon/fromd/fromd.c
+++ b/daemon/fromd/fromd.c
@@ -1,5 +1,6 @@
// $Id$
#include <stdio.h>
+#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <signal.h>
@@ -74,7 +75,7 @@ void daemonize()
int main(int argc, char *argv[])
{
- int ch, port = 5120, sfd;
+ int ch, port = 5130, sfd;
char *iface_ip = NULL;
Signal(SIGPIPE, SIG_IGN);