]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMathieu Rene <mrene@avgs.ca>
Thu, 12 Mar 2009 14:59:51 +0000 (14:59 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 12 Mar 2009 14:59:51 +0000 (14:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12581 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_limit/mod_limit.c

index 635ed2836652ecbdc925fe13b96a799803b1089a..e2b8f8bfac046b2181e8378cb53e041137e33b46 100644 (file)
@@ -322,7 +322,7 @@ static switch_status_t db_state_handler(switch_core_session_t *session)
                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;
 }