summaryrefslogtreecommitdiffstats
path: root/innbbsd/innbbsd.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 00:48:08 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 00:48:08 +0800
commit31608b78029a559ff1de6aa1188318c79c76f698 (patch)
tree0938b2d40ba1853dd775f758a6c476f53fa1144a /innbbsd/innbbsd.c
parent3a374a93478bb790ccd98afd6fc17e752d235746 (diff)
downloadpttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.gz
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.bz2
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.lz
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.xz
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.zst
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.zip
- fix compile warnings
- str_decode_M3: Assume output size is shorter than input size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/innbbsd.c')
-rw-r--r--innbbsd/innbbsd.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/innbbsd/innbbsd.c b/innbbsd/innbbsd.c
index 22979b1e..fee32aba 100644
--- a/innbbsd/innbbsd.c
+++ b/innbbsd/innbbsd.c
@@ -213,15 +213,6 @@ join(lineptr, pat, num)
#endif
-static int
-CMDtnrpd(client)
- ClientType *client;
-{
- argv_t *argv = &client->Argv;
- fprintf(argv->out, "%d %s\n", argv->dc->usage);
- return 0;
-}
-
int
islocalconnect(client)
ClientType *client;
@@ -273,7 +264,7 @@ CMDmode(client)
extern ClientType INNBBSD_STAT;
daemoncmd_t *p = argv->dc;
time_t uptime, now;
- int i, j;
+ int i, j = 0;
time_t lasthist;
ClientType *client1 = &INNBBSD_STAT;