Skip to content
Snippets Groups Projects
Commit 5601b0f5 authored by David M. Lee's avatar David M. Lee
Browse files

Fixed warning in astman for gcc-4.8.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 88d6c366
Branches
Tags
No related merge requests found
...@@ -737,7 +737,7 @@ static int manager_login(char *hostname) ...@@ -737,7 +737,7 @@ static int manager_login(char *hostname)
show_message("Login Failed", get_header(m, "Message")); show_message("Login Failed", get_header(m, "Message"));
} }
} else { } else {
memset(m, 0, sizeof(m)); memset(m, 0, sizeof(*m));
manager_action("Login", manager_action("Login",
"Username: %s\r\n" "Username: %s\r\n"
"Secret: %s\r\n", "Secret: %s\r\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment