From 8b513332a6aff403c38862be25ff304ac40b080b Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 14 Mar 2012 00:44:04 +0000 Subject: [PATCH] Fix incorrect sizeof() in astman. ........ Merged revisions 359116 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@359117 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- utils/astman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/astman.c b/utils/astman.c index 459eeee71b..88573e5f9f 100644 --- a/utils/astman.c +++ b/utils/astman.c @@ -387,7 +387,7 @@ static int input_check(struct ast_mansession *s, struct message **mout) } 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) {