Fix copy/paste error

This amends commit b9a8583178.
This commit is contained in:
Travis Cross 2014-02-12 11:42:50 +00:00
parent a0181631d1
commit 4efb258678
1 changed files with 1 additions and 1 deletions

View File

@ -2787,7 +2787,7 @@ static switch_status_t deliver_vm(vm_profile_t *profile,
} else if (!strcasecmp(var, "vm-storage-dir")) { } else if (!strcasecmp(var, "vm-storage-dir")) {
vm_storage_dir = switch_core_strdup(pool, val); vm_storage_dir = switch_core_strdup(pool, val);
} else if (!strcasecmp(var, "vm-domain-storage-dir")) { } 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")) { } else if (!strcasecmp(var, "storage-dir")) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
"Using deprecated 'storage-dir' directory variable: Please use 'vm-domain-storage-dir'.\n"); "Using deprecated 'storage-dir' directory variable: Please use 'vm-domain-storage-dir'.\n");