[Freeswitch-svn] [commit] r5852 - freeswitch/trunk/src/mod/applications/mod_enum

Freeswitch SVN anthm at freeswitch.org
Fri Oct 12 15:22:50 EDT 2007


Author: anthm
Date: Fri Oct 12 15:22:50 2007
New Revision: 5852

Modified:
   freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c

Log:
doh

Modified: freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c	Fri Oct 12 15:22:50 2007
@@ -582,7 +582,7 @@
 	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) {



More information about the Freeswitch-svn mailing list