Преглед изворни кода

r6993@Kushana: nickm | 2006-07-31 16:19:21 -0400
Interesting how much a ! can change the behavior of an assert.


svn:r6962

Nick Mathewson пре 20 година
родитељ
комит
80282d8f55
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/common/util.c

+ 1 - 1
src/common/util.c

@@ -343,7 +343,7 @@ int
 tor_strisnonupper(const char *s)
 tor_strisnonupper(const char *s)
 {
 {
   while (*s) {
   while (*s) {
-    if (! TOR_ISUPPER(*s))
+    if (TOR_ISUPPER(*s))
       return 0;
       return 0;
     s++;
     s++;
   }
   }