[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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) {