[Bristuff-users] a little fix for bristuff
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Sep 15 22:30:57 CEST 2008
Hi
Letting off some steam...
Take a look at the following patch:
index c12c112..4e8c5de 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -9999,6 +9999,7 @@ static void *pri_dchannel(void *vpri)
pri->pvts[chanpos]->progress = 1;
ast_mutex_unlock(&pri->pvts[chanpos]->lock);
}
+ }
}
break;
case PRI_EVENT_PROCEEDING:
@@ -10617,7 +10618,6 @@ static void *pri_dchannel(void *vpri)
#endif
ast_mutex_unlock(&pri->pvts[chanpos]->lock);
- }
}
}
}
One obvious conclusion from this patch is that pri_dchannel() has at
least 620 lines. Well, that's hardly surprising to anybody who had the
pleasure of editing chan_zap.c / chan_dahdi.c .
But when you realise what happened here, you begin to wonder how the
code managed to build without that???
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the Bristuff-users
mailing list