[asterisk-commits] lmadsen: trunk r263460 - /trunk/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 17 10:14:26 CDT 2010


Author: lmadsen
Date: Mon May 17 10:14:22 2010
New Revision: 263460

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263460
Log:
Missing newlines added to Set-Cookie line in manager.c

Sean Bright pointed out that we lost a set of newline characters in commit
190349 on a line I had recently changed. Yay for code review on commits.

(issue #17231)

Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/manager.c?view=diff&rev=263460&r1=263459&r2=263460
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Mon May 17 10:14:22 2010
@@ -4994,7 +4994,7 @@
 	ast_str_append(&http_header, 0,
 		"Content-type: text/%s\r\n"
 		"Cache-Control: no-cache;\r\n"
-		"Set-Cookie: mansession_id=\"%08x\"; Version=1; Max-Age=%d"
+		"Set-Cookie: mansession_id=\"%08x\"; Version=1; Max-Age=%d\r\n"
 		"Pragma: SuppressEvents\r\n",
 		contenttype[format],
 		session->managerid, httptimeout);




More information about the asterisk-commits mailing list