[asterisk-commits] russell: trunk r89076 - /trunk/main/astmm.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 6 18:16:03 CST 2007


Author: russell
Date: Tue Nov  6 18:16:03 2007
New Revision: 89076

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89076
Log:
Fix another CLI command so it doesn't run the real code when called for initialization.

Modified:
    trunk/main/astmm.c

Modified: trunk/main/astmm.c
URL: http://svn.digium.com/view/asterisk/trunk/main/astmm.c?view=diff&rev=89076&r1=89075&r2=89076
==============================================================================
--- trunk/main/astmm.c (original)
+++ trunk/main/astmm.c Tue Nov  6 18:16:03 2007
@@ -391,7 +391,7 @@
 			"Usage: memory show summary [<file>]\n"
 			"       Summarizes heap memory allocations by file, or optionally\n"
 			"by function, if a file is specified\n";
-		break;
+		return NULL;
 	case CLI_GENERATE:
 		return NULL;
 	}




More information about the asterisk-commits mailing list