[Freeswitch-svn] [commit] r12580 - freeswitch/trunk/src/mod/event_handlers/mod_erlang_event

FreeSWITCH SVN andrew at freeswitch.org
Wed Mar 11 19:37:30 PDT 2009


Author: andrew
Date: Wed Mar 11 21:37:30 2009
New Revision: 12580

Log:
fixin' a segfault


Modified:
   freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c

Modified: freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c	Wed Mar 11 21:37:30 2009
@@ -950,7 +950,7 @@
 	}
 
 	if (!prefs.nodename) {
-		prefs.nodename = "freeswitch";
+		set_pref_nodename("freeswitch");
 	}
 
 	return 0;



More information about the Freeswitch-svn mailing list