[asterisk-commits] seanbright: branch 1.8 r316917 - /branches/1.8/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 4 21:23:34 CDT 2011
Author: seanbright
Date: Wed May 4 21:23:28 2011
New Revision: 316917
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=316917
Log:
Make sure that tcptls_session is properly initialized.
(issue #18598)
Reported by: ksn
Modified:
branches/1.8/main/manager.c
Modified: branches/1.8/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/manager.c?view=diff&rev=316917&r1=316916&r2=316917
==============================================================================
--- branches/1.8/main/manager.c (original)
+++ branches/1.8/main/manager.c Wed May 4 21:23:28 2011
@@ -5680,7 +5680,7 @@
struct ast_variable *headers)
{
struct mansession_session *session = NULL;
- struct mansession s = { NULL, };
+ struct mansession s = { .session = NULL, .tcptls_session = ser };
struct ast_variable *v, *params = get_params;
char template[] = "/tmp/ast-http-XXXXXX"; /* template for temporary file */
struct ast_str *http_header = NULL, *out = NULL;
More information about the asterisk-commits
mailing list