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);
participants (1)
-
Freeswitch SVN