[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix an infinite loop at hup
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
config.c
Log Message:
fix an infinite loop at hup
Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- config.c 26 Aug 2005 18:44:26 -0000 1.398
+++ config.c 26 Aug 2005 20:07:55 -0000 1.399
@@ -2016,6 +2016,8 @@
while (a && b) {
if (strcasecmp(a->key, b->key) || strcmp(a->value, b->value))
return 0;
+ a = a->next;
+ b = b->next;
}
if (a || b)
return 0;