projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad03ac
)
Fix incorrect sizeof() in astman.
author
Russell Bryant
<russell@russellbryant.com>
Wed, 14 Mar 2012 00:45:02 +0000
(
00:45
+0000)
committer
Russell Bryant
<russell@russellbryant.com>
Wed, 14 Mar 2012 00:45:02 +0000
(
00:45
+0000)
........
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
utils/astman.c
patch
|
blob
|
history
diff --git
a/utils/astman.c
b/utils/astman.c
index
b48d60b
..
e61ce23
100644
(file)
--- 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) {