diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-08-28 20:41:00 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-08-28 20:41:00 +0000 |
commit | 6dd1237758422cb309ad6706f74ef6b2c374a854 (patch) | |
tree | fc136de37c7e939ec0c5fc83dbf48297b9650816 /epan/inet_aton.c | |
parent | 279d0ab898de61ea418179026341dda23a3db4a2 (diff) |
Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6116 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/inet_aton.c')
-rw-r--r-- | epan/inet_aton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/inet_aton.c b/epan/inet_aton.c index f101d10cd1..880d669117 100644 --- a/epan/inet_aton.c +++ b/epan/inet_aton.c @@ -59,7 +59,7 @@ static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93"; #include "inet_aton.h" -/* +/* * Check whether "cp" is a valid ascii representation * of an Internet address and convert to a binary address. * Returns 1 if the address is valid, 0 if not. @@ -98,7 +98,7 @@ inet_aton(cp_arg, addr) continue; } if (base == 16 && isascii(c) && isxdigit(c)) { - val = (val << 4) + + val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A')); cp++; continue; |