[Freeswitch-svn] [commit] r12581 - freeswitch/trunk/src/mod/applications/mod_limit

FreeSWITCH SVN mrene at freeswitch.org
Thu Mar 12 07:59:51 PDT 2009


Author: mrene
Date: Thu Mar 12 09:59:51 2009
New Revision: 12581

Log:
tweak

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

Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	Thu Mar 12 09:59:51 2009
@@ -322,7 +322,7 @@
 		switch_safe_free(sql);
 		switch_core_event_hook_remove_state_change(session, db_state_handler);
 		/* Remove limit_realm variable so we register another hook if limit is called again */
-		switch_channel_set_variable(channel, "limit_realm", "");
+		switch_channel_set_variable(channel, "limit_realm", NULL);
 	}
 	return SWITCH_STATUS_SUCCESS;
 }



More information about the Freeswitch-svn mailing list