diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-09 00:24:39 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-09 00:24:39 +0800 |
commit | 4370dd5a94a80d21a9bcb7d5e464d4653f021dff (patch) | |
tree | 1ad0477b49ee01f94f0271d496e9a13044ccd94e /include/logind.h | |
parent | ea6033df9651149316bd734bc7334f29f5045001 (diff) | |
download | pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.tar pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.tar.gz pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.tar.bz2 pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.tar.lz pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.tar.xz pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.tar.zst pttbbs-4370dd5a94a80d21a9bcb7d5e464d4653f021dff.zip |
* define size of fromhost as IPV4LEN(15)+NUL.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/logind.h')
-rw-r--r-- | include/logind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/logind.h b/include/logind.h index aebbffea..f489f08c 100644 --- a/include/logind.h +++ b/include/logind.h @@ -17,7 +17,7 @@ typedef struct login_data // user authentication char userid[IDLEN+1]; - char hostip[32+1]; + char hostip[IPV4LEN+1]; } login_data; |