From: Travis Cross Date: Wed, 12 Feb 2014 11:42:50 +0000 (+0000) Subject: Fix copy/paste error X-Git-Tag: v1.5.8~25^2~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4efb258678eae1ec9bb5ea587d65dca64cc38edd;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 75e34fecfa..d385e6e669 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -2787,7 +2787,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");