]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
missed a spot
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Mar 2011 01:39:21 +0000 (20:39 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Mar 2011 01:39:21 +0000 (20:39 -0500)
src/switch_loadable_module.c

index ea7bc736846be06dd372f4bcf06ecb7a575dce90..9804e53238e248ac75d685ddaed955e358dbc7c7 100644 (file)
@@ -1971,6 +1971,10 @@ SWITCH_DECLARE(switch_status_t) switch_say_file_handle_create(switch_say_file_ha
 {
        switch_assert(sh);
 
+       if (zstr(ext)) {
+               ext = "wav";
+       }
+
        *sh = malloc(sizeof(**sh));
        memset(*sh, 0, sizeof(**sh));