]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix small bug, init this value to success so you can record without playing a file...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Aug 2012 21:29:24 +0000 (16:29 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Aug 2012 21:29:30 +0000 (16:29 -0500)
src/mod/applications/mod_httapi/mod_httapi.c

index 2e6c5897403e5625058f2a4b38dc456fa8b6bc64..f926ddcd0ef92e797ab70b5062acdd70dfea1b8b 100644 (file)
@@ -887,7 +887,7 @@ static switch_status_t parse_record(const char *tag_name, client_t *client, swit
        const char *digit_timeout_ = switch_xml_attr(tag, "digit-timeout");
        char *loops_ = (char *) switch_xml_attr(tag, "loops");
        int loops = 0;
-       switch_status_t status = SWITCH_STATUS_FALSE;
+       switch_status_t status = SWITCH_STATUS_SUCCESS;
        switch_ivr_dmachine_t *dmachine = NULL;
        switch_input_args_t *args = NULL, myargs = { 0 };
        long digit_timeout = 1500;