[asterisk-commits] russell: trunk r359118 - in /trunk: ./ utils/astman.c

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


Author: russell
Date: Tue Mar 13 19:45:02 2012
New Revision: 359118

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

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

Merged revisions 359117 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/utils/astman.c

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

Modified: trunk/utils/astman.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/astman.c?view=diff&rev=359118&r1=359117&r2=359118
==============================================================================
--- trunk/utils/astman.c (original)
+++ trunk/utils/astman.c Tue Mar 13 19:45:02 2012
@@ -386,7 +386,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