[svn-commits] kmoore: trunk r370925 - in /trunk: ./ main/channel.c

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


Author: kmoore
Date: Wed Aug  8 15:30:52 2012
New Revision: 370925

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370925
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
........

Merged revisions 370924 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/main/channel.c

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

Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=370925&r1=370924&r2=370925
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Aug  8 15:30:52 2012
@@ -159,7 +159,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