[or-cvs] r16782: {tor} Add an assert to make tools happier. (tor/trunk/src/common)

nickm at seul.org nickm at seul.org
Fri Sep 5 20:59:09 UTC 2008


Author: nickm
Date: 2008-09-05 16:59:09 -0400 (Fri, 05 Sep 2008)
New Revision: 16782

Modified:
   tor/trunk/src/common/container.c
Log:
Add an assert to make tools happier.

Modified: tor/trunk/src/common/container.c
===================================================================
--- tor/trunk/src/common/container.c	2008-09-05 20:54:52 UTC (rev 16781)
+++ tor/trunk/src/common/container.c	2008-09-05 20:59:09 UTC (rev 16782)
@@ -358,6 +358,8 @@
         ;
     }
 
+    tor_assert(end);
+
     if (!*end) {
       next = NULL;
     } else if (sep) {



More information about the tor-commits mailing list