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) {