httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r683286 - /httpd/httpd/trunk/server/util_cookies.c
Date Wed, 06 Aug 2008 14:52:37 GMT
Author: jorton
Date: Wed Aug  6 07:52:37 2008
New Revision: 683286

URL: http://svn.apache.org/viewvc?rev=683286&view=rev
Log:
* server/util_cookies.c (ap_cookie_write2): Add missing sentinel in
  apr_pstrcat call.

Modified:
    httpd/httpd/trunk/server/util_cookies.c

Modified: httpd/httpd/trunk/server/util_cookies.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_cookies.c?rev=683286&r1=683285&r2=683286&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_cookies.c (original)
+++ httpd/httpd/trunk/server/util_cookies.c Wed Aug  6 07:52:37 2008
@@ -77,7 +77,7 @@
     /* handle expiry */
     buffer = "";
     if (maxage) {
-        buffer = apr_pstrcat(r->pool, "Max-Age=", apr_ltoa(r->pool, maxage), ";");
+        buffer = apr_pstrcat(r->pool, "Max-Age=", apr_ltoa(r->pool, maxage), ";", NULL);
     }
 
     /* create RFC2965 compliant cookie */



Mime
View raw message