[asterisk-commits] dlee: trunk r395984 - /trunk/utils/astman.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 1 11:56:53 CDT 2013
Author: dlee
Date: Thu Aug 1 11:56:51 2013
New Revision: 395984
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395984
Log:
Fixed warning in astman for gcc-4.8.
Modified:
trunk/utils/astman.c
Modified: trunk/utils/astman.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/astman.c?view=diff&rev=395984&r1=395983&r2=395984
==============================================================================
--- trunk/utils/astman.c (original)
+++ trunk/utils/astman.c Thu Aug 1 11:56:51 2013
@@ -737,7 +737,7 @@
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",
More information about the asterisk-commits
mailing list