[svn-commits] kmoore: branch 10 r370924 - in /branches/10: ./ main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 8 15:29:20 CDT 2012


Author: kmoore
Date: Wed Aug  8 15:29:16 2012
New Revision: 370924

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370924
Log:
Do not define a cause that doesn't actually exist

AST_CAUSE_NOTDEFINED is a placeholder for usage when there is no cause
information. As such, it should not be defined and translatable as a
cause.
........

Merged revisions 370923 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/main/channel.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/channel.c?view=diff&rev=370924&r1=370923&r2=370924
==============================================================================
--- branches/10/main/channel.c (original)
+++ branches/10/main/channel.c Wed Aug  8 15:29:16 2012
@@ -203,7 +203,6 @@
 	const char *name;
 	const char *desc;
 } causes[] = {
-	{ AST_CAUSE_NOTDEFINED, "NOTDEFINED", "Cause not defined" },
 	{ AST_CAUSE_UNALLOCATED, "UNALLOCATED", "Unallocated (unassigned) number" },
 	{ AST_CAUSE_NO_ROUTE_TRANSIT_NET, "NO_ROUTE_TRANSIT_NET", "No route to specified transmit network" },
 	{ AST_CAUSE_NO_ROUTE_DESTINATION, "NO_ROUTE_DESTINATION", "No route to destination" },




More information about the svn-commits mailing list