summaryrefslogtreecommitdiff
path: root/main/manager.c
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2010-05-17 15:14:22 +0000
committerLeif Madsen <leif@leifmadsen.com>2010-05-17 15:14:22 +0000
commitfa5350f7d7b538dcd1402390f44d2f4722652d3c (patch)
treefafca0364eab8a91c710f185f8ef5d7e594624a2 /main/manager.c
parent193d495a8ad7e84af539f33db2d44a1524e55667 (diff)
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, #10961) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@263460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index 664e8583c..297e94f5f 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -4994,7 +4994,7 @@ static int generic_http_callback(struct ast_tcptls_session_instance *ser,
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);