diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-05-27 17:13:25 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-05-27 17:13:25 +0800 |
commit | 7fb50c3a816f8b243e387dd903df6fbd732735d3 (patch) | |
tree | 1d64a28cd87a251048652b27299fab8abcd6aa2c /common/sys/net.c | |
parent | 47e1682c7ad6d559f46b49d525423479d7d78316 (diff) | |
download | pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.gz pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.bz2 pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.lz pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.xz pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.tar.zst pttbbs-7fb50c3a816f8b243e387dd903df6fbd732735d3.zip |
- many small revise
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'common/sys/net.c')
-rw-r--r-- | common/sys/net.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/sys/net.c b/common/sys/net.c index 80566487..ba08ff7f 100644 --- a/common/sys/net.c +++ b/common/sys/net.c @@ -12,10 +12,11 @@ #include "cmsys.h" -unsigned int +uint32_t ipstr2int(const char *ip) { - unsigned int i, val = 0; + unsigned int i; + uint32_t val = 0; char buf[32]; char *nil, *p; |