summaryrefslogtreecommitdiff
path: root/scan_urlencoded_query.c
diff options
context:
space:
mode:
authorerdgeist <>2007-04-03 11:08:17 +0000
committererdgeist <>2007-04-03 11:08:17 +0000
commit5c18293c9c7b2c5f419135b1705f07460e7773b0 (patch)
tree6f86e247b14fdd03d23d0bbefc7277ca939db9d7 /scan_urlencoded_query.c
parentbd4617a911fb961c5251425fff3e531e3968867c (diff)
New Makefile, incorporated some patches sent to me by Robin H. Johnson
Diffstat (limited to 'scan_urlencoded_query.c')
-rw-r--r--scan_urlencoded_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan_urlencoded_query.c b/scan_urlencoded_query.c
index f9c38ed..296e829 100644
--- a/scan_urlencoded_query.c
+++ b/scan_urlencoded_query.c
@@ -73,7 +73,7 @@ ssize_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ) {
73 73
74 for( i=0; i<4; ++i ) { 74 for( i=0; i<4; ++i ) {
75 ssize_t j = scan_fixed_int( data, len, &u ); 75 ssize_t j = scan_fixed_int( data, len, &u );
76 if( j == len ) return len; 76 if( j == (ssize_t)len ) return len;
77 ip[i] = u; 77 ip[i] = u;
78 data += len - j; 78 data += len - j;
79 len = j; 79 len = j;