diff options
author | Russell Bryant <russell@russellbryant.com> | 2012-03-14 00:45:02 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2012-03-14 00:45:02 +0000 |
commit | c1d9194482cbc6584f79f27233b0410590599e59 (patch) | |
tree | ab1c795ca0367ea9cbb01b54ebe660edac0b9c8a /utils | |
parent | 5ad03ac4a1622a526a32be7ca9759d182a719dd5 (diff) |
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@359118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r-- | utils/astman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/astman.c b/utils/astman.c index b48d60b25..e61ce2388 100644 --- a/utils/astman.c +++ b/utils/astman.c @@ -386,7 +386,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) { |