From: Joe Orton Date: Wed, 6 Aug 2008 14:52:37 +0000 (+0000) Subject: * server/util_cookies.c (ap_cookie_write2): Add missing sentinel in X-Git-Tag: 2.3.0~391 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=166a985de74e437a348711dc0b57bc84b836c43c;p=thirdparty%2Fapache%2Fhttpd.git * server/util_cookies.c (ap_cookie_write2): Add missing sentinel in apr_pstrcat call. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@683286 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_cookies.c b/server/util_cookies.c index 376afc0db31..45ff8dad90f 100644 --- a/server/util_cookies.c +++ b/server/util_cookies.c @@ -77,7 +77,7 @@ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, co /* 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 */