[svn-commits] kmoore: branch 1.8 r370923 - /branches/1.8/main/channel.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 8 15:28:44 CDT 2012
Author: kmoore
Date: Wed Aug 8 15:28:40 2012
New Revision: 370923
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370923
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.
Modified:
branches/1.8/main/channel.c
Modified: branches/1.8/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/channel.c?view=diff&rev=370923&r1=370922&r2=370923
==============================================================================
--- branches/1.8/main/channel.c (original)
+++ branches/1.8/main/channel.c Wed Aug 8 15:28:40 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