[Freeswitch-svn] [commit] r8331 - freeswitch/trunk/src/mod/languages/mod_lua
Freeswitch SVN
stkn at freeswitch.org
Fri May 9 12:24:38 EDT 2008
Author: stkn
Date: Fri May 9 12:24:38 2008
New Revision: 8331
Modified:
freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp
Log:
Should fix the problem reported by pressureman
Modified: freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp (original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp Fri May 9 12:24:38 2008
@@ -130,7 +130,7 @@
if (func) {
hangup_func_str = strdup(func);
- if (arg) {
+ if (!switch_strlen_zero(arg)) {
hangup_func_arg = strdup(arg);
}
switch_channel_set_private(channel, "CoreSession", this);
More information about the Freeswitch-svn
mailing list