diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-07 00:48:08 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-07 00:48:08 +0800 |
commit | 31608b78029a559ff1de6aa1188318c79c76f698 (patch) | |
tree | 0938b2d40ba1853dd775f758a6c476f53fa1144a /innbbsd/connectsock.c | |
parent | 3a374a93478bb790ccd98afd6fc17e752d235746 (diff) | |
download | pttbbs-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/connectsock.c')
-rw-r--r-- | innbbsd/connectsock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innbbsd/connectsock.c b/innbbsd/connectsock.c index 2340eaea..0dd32b03 100644 --- a/innbbsd/connectsock.c +++ b/innbbsd/connectsock.c @@ -295,7 +295,8 @@ int tryaccept(s) int s; { - int ns, fromlen; + int ns; + socklen_t fromlen; struct sockaddr sockaddr; /* Internet endpoint address */ fromlen = sizeof(struct sockaddr_in); |