From: Travis Cross Date: Wed, 12 Feb 2014 11:42:50 +0000 (+0000) Subject: Fix copy/paste error X-Git-Tag: v1.2.22~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3680199268aee1e71bde5b50193a6cf39bfc0663;p=thirdparty%2Ffreeswitch.git Fix copy/paste error This amends commit b9a858317881315c52cd33c61d90b1e6c75156bd. --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index b12028ac0e..d488efbcdf 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -2786,7 +2786,7 @@ static switch_status_t deliver_vm(vm_profile_t *profile, } else if (!strcasecmp(var, "vm-storage-dir")) { vm_storage_dir = switch_core_strdup(pool, val); } else if (!strcasecmp(var, "vm-domain-storage-dir")) { - storage_dir = switch_core_session_strdup(session, val); + storage_dir = switch_core_strdup(pool, val); } else if (!strcasecmp(var, "storage-dir")) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Using deprecated 'storage-dir' directory variable: Please use 'vm-domain-storage-dir'.\n");