From: Anthony Minessale Date: Fri, 12 Oct 2007 19:22:50 +0000 (+0000) Subject: doh X-Git-Tag: v1.0-beta2~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1fbb6ff65595d33e028f5e40cd700adcde889e3;p=thirdparty%2Ffreeswitch.git doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5852 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_enum/mod_enum.c b/src/mod/applications/mod_enum/mod_enum.c index e888c401b8..d9d89217e8 100644 --- a/src/mod/applications/mod_enum/mod_enum.c +++ b/src/mod/applications/mod_enum/mod_enum.c @@ -582,7 +582,7 @@ SWITCH_STANDARD_APP(enum_app_function) if ((argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) { dest = argv[0]; root = argv[1] ? argv[1] : globals.root; - if (enum_lookup(root, data, &results) == SWITCH_STATUS_SUCCESS) { + if (enum_lookup(root, dest, &results) == SWITCH_STATUS_SUCCESS) { switch_event_header_t *hi; if ((hi = switch_channel_variable_first(channel))) { for (; hi; hi = hi->next) {