rupa (again)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10470 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-19 22:54:37 +00:00
parent d7e9dfb742
commit ca60095ee2
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ SWITCH_STANDARD_APP(enum_app_function)
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);