[Freeswitch-svn] [commit] r7924 - freeswitch/trunk/src/mod/applications/mod_enum

Freeswitch SVN mikej at freeswitch.org
Tue Mar 18 22:20:23 EDT 2008


Author: mikej
Date: Tue Mar 18 22:20:23 2008
New Revision: 7924

Modified:
   freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c

Log:
tweak build.

Modified: freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c	Tue Mar 18 22:20:23 2008
@@ -315,6 +315,7 @@
 
 		for(n = 0; n < 3; n++) {
 			uint32_t len = *c++, cpylen = len;
+			switch_assert(string_arg[n]);
 			if (len > sizeof(string_arg[n]) - 1) {
 				cpylen = sizeof(string_arg[n]) - 1;
 			}



More information about the Freeswitch-svn mailing list