[asterisk-commits] russell: branch 10 r359117 - in /branches/10: ./ utils/astman.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 13 19:44:09 CDT 2012


Author: russell
Date: Tue Mar 13 19:44:04 2012
New Revision: 359117

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=359117
Log:
Fix incorrect sizeof() in astman.
........

Merged revisions 359116 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/utils/astman.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/utils/astman.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/utils/astman.c?view=diff&rev=359117&r1=359116&r2=359117
==============================================================================
--- branches/10/utils/astman.c (original)
+++ branches/10/utils/astman.c Tue Mar 13 19:44:04 2012
@@ -387,7 +387,7 @@
 				}
 				if (process_message(s, &m))
 					break;
-				memset(&m, 0, sizeof(&m));
+				memset(&m, 0, sizeof(m));
 			} else if (m.hdrcount < MAX_HEADERS - 1)
 				m.hdrcount++;
 		} else if (res < 0) {




More information about the asterisk-commits mailing list