[asterisk-commits] kmoore: trunk r395728 - /trunk/res/res_pktccops.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 30 08:46:18 CDT 2013
Author: kmoore
Date: Tue Jul 30 08:46:16 2013
New Revision: 395728
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395728
Log:
Fix compilation on gcc 4.8.1
Modified:
trunk/res/res_pktccops.c
Modified: trunk/res/res_pktccops.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pktccops.c?view=diff&rev=395728&r1=395727&r2=395728
==============================================================================
--- trunk/res/res_pktccops.c (original)
+++ trunk/res/res_pktccops.c Tue Jul 30 08:46:16 2013
@@ -1347,7 +1347,7 @@
if (a->argc < 9)
return CLI_SHOWUSAGE;
- if (!strncmp(a->argv[2], "null", sizeof(a->argv[2]))) {
+ if (!strcmp(a->argv[2], "null")) {
cmts = NULL;
} else {
AST_LIST_LOCK(&cmts_list);
More information about the asterisk-commits
mailing list