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

FreeSWITCH SVN anthm at freeswitch.org
Wed Nov 19 14:54:37 PST 2008


Author: anthm
Date: Wed Nov 19 17:54:37 2008
New Revision: 10470

Log:
rupa (again)

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

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	Wed Nov 19 17:54:37 2008
@@ -652,7 +652,7 @@
 				rbl -= l;
 			}
 
-			switch_snprintf(vbuf, sizeof(vbuf), "%d", cnt);
+			switch_snprintf(vbuf, sizeof(vbuf), "%d", cnt - 1);
 			switch_channel_set_variable(channel, "enum_route_count", vbuf);
 			*(rbuf + strlen(rbuf) - 1) = '\0';
 			switch_channel_set_variable(channel, "enum_auto_route", rbuf);



More information about the Freeswitch-svn mailing list