]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Oct 2007 19:22:50 +0000 (19:22 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Oct 2007 19:22:50 +0000 (19:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5852 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_enum/mod_enum.c

index e888c401b8216586f5ea63abf4fb67b074d85ee3..d9d89217e8cb3daadb520c0e6d3b2f18cd94388e 100644 (file)
@@ -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) {