[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] cvs diff -u src/or/circuitlist.c | less almost never does w...
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv5940/src/or
Modified Files:
circuitlist.c
Log Message:
cvs diff -u src/or/circuitlist.c | less almost never does what you want in C.
Index: circuitlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuitlist.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- circuitlist.c 3 Dec 2005 02:21:30 -0000 1.78
+++ circuitlist.c 3 Dec 2005 03:36:32 -0000 1.79
@@ -825,7 +825,7 @@
tor_assert(circuits_pending_or_conns &&
smartlist_isin(circuits_pending_or_conns, c));
} else {
- tor_assert(!circuits_pending_or_conns || !
+ tor_assert(!circuits_pending_or_conns ||
!smartlist_isin(circuits_pending_or_conns, c));
}
if (c->cpath) {