You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2011/05/17 19:46:55 UTC

svn commit: r1104427 - /httpd/apreq/trunk/library/t/at.c

Author: joes
Date: Tue May 17 17:46:54 2011
New Revision: 1104427

URL: http://svn.apache.org/viewvc?rev=1104427&view=rev
Log:
need a sentinel here

Modified:
    httpd/apreq/trunk/library/t/at.c

Modified: httpd/apreq/trunk/library/t/at.c
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/library/t/at.c?rev=1104427&r1=1104426&r2=1104427&view=diff
==============================================================================
--- httpd/apreq/trunk/library/t/at.c (original)
+++ httpd/apreq/trunk/library/t/at.c Tue May 17 17:46:54 2011
@@ -303,6 +303,8 @@ static int* at_list(apr_pool_t *pool, co
 
     } while (prev >= current);
 
+    *(int *)apr_array_push(&arr) = 0; /* sentinel */
+
     return (int *)arr.elts;
 }