mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
missed that one while reverting
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2711,7 +2711,7 @@ static char *generic_http_callback(int format, struct sockaddr_in *requestor, co
|
||||
}
|
||||
ast_build_string(&c, &len, "Content-type: text/%s\r\n", contenttype[format]);
|
||||
sprintf(tmp, "%08lx", s->managerid);
|
||||
ast_build_string(&c, &len, "%s", ast_http_setcookie("mansession_id", tmp, httptimeout, cookie, sizeof(cookie)));
|
||||
ast_build_string(&c, &len, "%s\r\n", ast_http_setcookie("mansession_id", tmp, httptimeout, cookie, sizeof(cookie)));
|
||||
if (format == FORMAT_HTML)
|
||||
ast_build_string(&c, &len, "<title>Asterisk™ Manager Interface</title>");
|
||||
if (format == FORMAT_XML) {
|
||||
|
Reference in New Issue
Block a user