mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Fix incorrect sizeof() in astman.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@359116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -387,7 +387,7 @@ static int input_check(struct ast_mansession *s, struct message **mout)
|
|||||||
}
|
}
|
||||||
if (process_message(s, &m))
|
if (process_message(s, &m))
|
||||||
break;
|
break;
|
||||||
memset(&m, 0, sizeof(&m));
|
memset(&m, 0, sizeof(m));
|
||||||
} else if (m.hdrcount < MAX_HEADERS - 1)
|
} else if (m.hdrcount < MAX_HEADERS - 1)
|
||||||
m.hdrcount++;
|
m.hdrcount++;
|
||||||
} else if (res < 0) {
|
} else if (res < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user