]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix some stuff and add set_user func
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 13 Nov 2007 22:06:44 +0000 (22:06 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 13 Nov 2007 22:06:44 +0000 (22:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6249 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_limit/mod_limit.c

index 1f484f650de348493390864c45b33b8457c532aa..b3134329e6c36d3184b0ecb8202ded2a150667e6 100644 (file)
@@ -372,6 +372,7 @@ SWITCH_STANDARD_API(db_api_function)
         limit_execute_sql(sql, NULL);
         switch_safe_free(sql);    
         stream->write_function(stream, "+OK");
+        goto done;
     } else if (!strcasecmp(argv[0], "select")) {
         char buf[256] = "";
         callback_t cbt = { 0 };