[asterisk-commits] russell: branch 1.8 r359116 - /branches/1.8/utils/astman.c

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


Author: russell
Date: Tue Mar 13 19:43:15 2012
New Revision: 359116

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

Modified:
    branches/1.8/utils/astman.c

Modified: branches/1.8/utils/astman.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/utils/astman.c?view=diff&rev=359116&r1=359115&r2=359116
==============================================================================
--- branches/1.8/utils/astman.c (original)
+++ branches/1.8/utils/astman.c Tue Mar 13 19:43:15 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