[or-cvs] r6962: Interesting how much a ! can change the behavior of an asser (in tor/trunk: . src/common)

nickm at seul.org nickm at seul.org
Mon Jul 31 20:19:59 UTC 2006


Author: nickm
Date: 2006-07-31 16:19:58 -0400 (Mon, 31 Jul 2006)
New Revision: 6962

Modified:
   tor/trunk/
   tor/trunk/src/common/util.c
Log:
 r6993 at Kushana:  nickm | 2006-07-31 16:19:21 -0400
 Interesting how much a ! can change the behavior of an assert.



Property changes on: tor/trunk
___________________________________________________________________
Name: svk:merge
   - c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/eventdns:6982
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/oo-connections:6950
   + c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/eventdns:6993
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/oo-connections:6950

Modified: tor/trunk/src/common/util.c
===================================================================
--- tor/trunk/src/common/util.c	2006-07-31 18:01:49 UTC (rev 6961)
+++ tor/trunk/src/common/util.c	2006-07-31 20:19:58 UTC (rev 6962)
@@ -343,7 +343,7 @@
 tor_strisnonupper(const char *s)
 {
   while (*s) {
-    if (! TOR_ISUPPER(*s))
+    if (TOR_ISUPPER(*s))
       return 0;
     s++;
   }



More information about the tor-commits mailing list