httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1104427 - /httpd/apreq/trunk/library/t/at.c
Date Tue, 17 May 2011 17:46:55 GMT
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;
 }
 



Mime
View raw message