summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-08-01 16:56:51 +0000
committerDavid M. Lee <dlee@digium.com>2013-08-01 16:56:51 +0000
commit5601b0f50cf30fd05c97a44ff7e18c20f58fc947 (patch)
tree70a1fa0df472ba55ac794b93724e0e9f8aef7ccb /utils
parent88d6c366d161a113ab5ef39a89041e5260b2fc40 (diff)
Fixed warning in astman for gcc-4.8.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r--utils/astman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/astman.c b/utils/astman.c
index e61ce2388..6527e994a 100644
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -737,7 +737,7 @@ static int manager_login(char *hostname)
show_message("Login Failed", get_header(m, "Message"));
}
} else {
- memset(m, 0, sizeof(m));
+ memset(m, 0, sizeof(*m));
manager_action("Login",
"Username: %s\r\n"
"Secret: %s\r\n",