[Pkg-voip-commits] r4848 - /asterisk/trunk/debian/patches/bristuff/zapata-bri+euroisdn
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Mon Nov 19 19:23:46 UTC 2007
Author: tzafrir-guest
Date: Mon Nov 19 19:23:45 2007
New Revision: 4848
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4848
Log:
bristuff/zapata-bri+euroisdn: two typos and white-space damage.
Modified:
asterisk/trunk/debian/patches/bristuff/zapata-bri+euroisdn
Modified: asterisk/trunk/debian/patches/bristuff/zapata-bri+euroisdn
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/patches/bristuff/zapata-bri%2Beuroisdn?rev=4848&op=diff
==============================================================================
--- asterisk/trunk/debian/patches/bristuff/zapata-bri+euroisdn (original)
+++ asterisk/trunk/debian/patches/bristuff/zapata-bri+euroisdn Mon Nov 19 19:23:45 2007
@@ -551,7 +551,7 @@
i->inalarm = 0;
+#ifdef HAVE_PRI
+ if (i->pri) {
-+ if ((i->pri->nodetype == BRI_CPE_PTMP) || (i->pri->nodetype == BRI_CPE_PTMP)) {
++ if ((i->pri->nodetype == BRI_CPE_PTMP) || (i->pri->nodetype == BRI_CPE)) {
+ /* dont annoy BRI TE mode users with layer2layer alarms */
+ } else {
+ ast_log(LOG_NOTICE, "Alarm cleared on channel %d\n", i->channel);
@@ -570,7 +570,7 @@
res = get_alarms(i);
+#ifdef HAVE_PRI
+ if (i->pri) {
-+ if ((i->pri->nodetype == BRI_CPE_PTMP) || (i->pri->nodetype == BRI_CPE_PTMP)) {
++ if ((i->pri->nodetype == BRI_CPE_PTMP) || (i->pri->nodetype == BRI_CPE)) {
+ /* dont annoy BRI TE mode users with layer2layer alarms */
+ } else {
+ ast_log(LOG_WARNING, "Detected alarm on channel %d: %s\n", i->channel, alarm2str(res));
@@ -2286,10 +2286,8 @@
+
myfd = open(argv[4], O_CREAT|O_WRONLY, 0600);
if (myfd < 0) {
-- ast_cli(fd, "Unable to open '%s' for writing\n", argv[4]);
-- return RESULT_SUCCESS;
-+ ast_cli(fd, "Unable to open '%s' for writing\n", argv[4]);
-+ return RESULT_SUCCESS;
+ ast_cli(fd, "Unable to open '%s' for writing\n", argv[4]);
+ return RESULT_SUCCESS;
}
-
- ast_mutex_lock(&pridebugfdlock);
More information about the Pkg-voip-commits
mailing list