From: Filipe A. <li...@us...> - 2004-06-22 12:43:34
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1576/kernel Modified Files: main.c match_http.c utils.c Log Message: warning cleanup Index: match_http.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_http.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- match_http.c 13 Mar 2004 17:03:17 -0000 1.26 +++ match_http.c 22 Jun 2004 12:43:25 -0000 1.27 @@ -116,14 +116,14 @@ i = 0; list = method_strings; - while(s = *list++) { + while((s = *list++)) { methods = fill_strtree(s, methods, i); i++; } i = 0; list = header_strings; - while(s = *list++) { + while((s = *list++)) { headers = fill_strtree(s, headers, i); i++; } Index: main.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/main.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- main.c 20 Apr 2004 19:27:35 -0000 1.15 +++ main.c 22 Jun 2004 12:43:24 -0000 1.16 @@ -99,7 +99,6 @@ const struct tcphdr *tcph; const unsigned char *data; const unsigned char *end; - int ret; #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) int datalen; Index: utils.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- utils.c 7 Mar 2004 22:27:16 -0000 1.2 +++ utils.c 22 Jun 2004 12:43:25 -0000 1.3 @@ -63,7 +63,7 @@ treenode *node) { int c; int v = -1; - while(c = *data++) { + while((c = *data++)) { if (data >= end) return -1; |