[asterisk-commits] russell: branch 1.4 r57396 - /branches/1.4/main/file.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 1 17:20:45 MST 2007


Author: russell
Date: Thu Mar  1 18:20:44 2007
New Revision: 57396

URL: http://svn.digium.com/view/asterisk?view=rev&rev=57396
Log:
Return the correct digit that interrupted the stream.  This fixes exiting the
Background application when using the m option.
(issue #9176, mjagdis)

Modified:
    branches/1.4/main/file.c

Modified: branches/1.4/main/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/file.c?view=diff&rev=57396&r1=57395&r2=57396
==============================================================================
--- branches/1.4/main/file.c (original)
+++ branches/1.4/main/file.c Thu Mar  1 18:20:44 2007
@@ -1033,6 +1033,7 @@
 				if (context) {
 					const char exten[2] = { fr->subclass, '\0' };
 					if (ast_exists_extension(c, context, exten, 1, c->cid.cid_num)) {
+						res = fr->subclass;
 						ast_frfree(fr);
 						return res;
 					}



More information about the asterisk-commits mailing list