[svn-commits] dvossel: branch 1.6.2 r265615 - /branches/1.6.2/channels/chan_dahdi.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue May 25 12:16:00 CDT 2010
Author: dvossel
Date: Tue May 25 12:15:59 2010
New Revision: 265615
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265615
Log:
fixes build issue with zaptel
(closes issue 0017394)
Reported by: aragon
Patches:
half_buffer_fix.diff uploaded by dvossel (license 671)
Tested by: aragon
Modified:
branches/1.6.2/channels/chan_dahdi.c
Modified: branches/1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_dahdi.c?view=diff&rev=265615&r1=265614&r2=265615
==============================================================================
--- branches/1.6.2/channels/chan_dahdi.c (original)
+++ branches/1.6.2/channels/chan_dahdi.c Tue May 25 12:15:59 2010
@@ -5071,8 +5071,10 @@
*policy = DAHDI_POLICY_WHEN_FULL;
} else if (!strcasecmp(policy_str, "immediate")) {
*policy = DAHDI_POLICY_IMMEDIATE;
+#ifdef DAHDI_POLICY_HALF_FULL
} else if (!strcasecmp(policy_str, "half")) {
*policy = DAHDI_POLICY_HALF_FULL;
+#endif
} else {
ast_log(LOG_WARNING, "Invalid policy name given '%s'.\n", policy_str);
return -1;
More information about the svn-commits
mailing list