[asterisk-commits] qwell: branch 1.4 r74839 - /branches/1.4/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 12 11:17:00 CDT 2007


Author: qwell
Date: Thu Jul 12 11:16:59 2007
New Revision: 74839

URL: http://svn.digium.com/view/asterisk?view=rev&rev=74839
Log:
Fix dialing in skinny that was broken in some cases.

Issue 10136, fix provided by DEA.

Modified:
    branches/1.4/channels/chan_skinny.c

Modified: branches/1.4/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_skinny.c?view=diff&rev=74839&r1=74838&r2=74839
==============================================================================
--- branches/1.4/channels/chan_skinny.c (original)
+++ branches/1.4/channels/chan_skinny.c Thu Jul 12 11:16:59 2007
@@ -4099,7 +4099,7 @@
 			len = strlen(d->exten);
 			if (len < sizeof(d->exten) - 1) {
 				d->exten[len] = dgt;
-				d->exten[len] = '\0';
+				d->exten[len+1] = '\0';
 			} else {
 				ast_log(LOG_WARNING, "Dropping digit with value %d because digit queue is full\n", dgt);
 			}




More information about the asterisk-commits mailing list