[Freeswitch-svn] [commit] r9993 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Mon Oct 13 02:42:51 EDT 2008


Author: mikej
Date: Mon Oct 13 02:42:50 2008
New Revision: 9993

Modified:
   freeswitch/trunk/src/switch_loadable_module.c

Log:
fix autoload of modules.

Modified: freeswitch/trunk/src/switch_loadable_module.c
==============================================================================
--- freeswitch/trunk/src/switch_loadable_module.c	(original)
+++ freeswitch/trunk/src/switch_loadable_module.c	Mon Oct 13 02:42:50 2008
@@ -815,11 +815,11 @@
 		path = switch_core_strdup(loadable_modules.pool, file);
 		file = (char *) switch_cut_path(file);
 		if ((dot = strchr(file, '.'))) {
-			dot = '\0';
+			*dot = '\0';
 		}
 	} else {
 		if ((dot = strchr(file, '.'))) {
-			dot = '\0';
+			*dot = '\0';
 		}
 		len = strlen(dir);
 		len += strlen(file);



More information about the Freeswitch-svn mailing list