]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
- fix from upstream
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 22 Nov 2008 19:37:24 +0000 (19:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk-r150557.patch -> 1.1

asterisk-r150557.patch [new file with mode: 0644]

diff --git a/asterisk-r150557.patch b/asterisk-r150557.patch
new file mode 100644 (file)
index 0000000..cb3b7c6
--- /dev/null
@@ -0,0 +1,20 @@
+--- branches/1.4/channels/chan_dahdi.c 2008/10/08 22:22:09     147681
++++ branches/1.4/channels/chan_dahdi.c 2008/10/17 15:31:35     150557
+@@ -3668,7 +3668,7 @@
+ {
+       int res;
+       struct dahdi_spaninfo zi;
+-#if defined(HAVE_DAHDI) || defined(HAVE_ZAPTEL_CHANALARMS)
++#if !defined(HAVE_ZAPTEL) || defined(HAVE_ZAPTEL_CHANALARMS)
+       /*
+        * The conditional compilation is needed only in asterisk-1.4 for
+        * backward compatibility with old zaptel drivers that don't have
+@@ -3687,7 +3687,7 @@
+       }
+       if (zi.alarms != DAHDI_ALARM_NONE)
+               return zi.alarms;
+-#if defined(HAVE_DAHDI) || defined(HAVE_ZAPTEL_CHANALARMS)
++#if !defined(HAVE_ZAPTEL) || defined(HAVE_ZAPTEL_CHANALARMS)
+       /* No alarms on the span. Check for channel alarms. */
+       if ((res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_GET_PARAMS, &params)) >= 0)
+               return params.chan_alarms;
This page took 1.001451 seconds and 4 git commands to generate.