[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] I hear the smart kinds compile before committing. Then the...
Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv30827/src/common
Modified Files:
container.c
Log Message:
I hear the smart kinds compile before committing. Then they never miss parens
Index: container.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/container.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- container.c 3 Apr 2005 05:58:23 -0000 1.24
+++ container.c 3 Apr 2005 06:00:00 -0000 1.25
@@ -127,7 +127,7 @@
tor_assert(sl);
tor_assert(element);
for (i = 0; i < sl->num_used; ++i) {
- if (!strcmp(element, sl->list[i]) {
+ if (!strcmp(element, sl->list[i])) {
sl->list[i] = sl->list[--sl->num_used]; /* swap with the end */
i--; /* so we process the new i'th element */
}