From: David M. Lee Date: Thu, 1 Aug 2013 16:56:51 +0000 (+0000) Subject: Fixed warning in astman for gcc-4.8. X-Git-Tag: 13.0.0-beta1~1370 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5601b0f50cf30fd05c97a44ff7e18c20f58fc947;p=thirdparty%2Fasterisk.git Fixed warning in astman for gcc-4.8. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395984 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/astman.c b/utils/astman.c index e61ce2388c..6527e994a3 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",