aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-08 15:08:26 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-08 15:08:26 +0000
commit94feaed830be08912a8fe13313e50573026f29ee (patch)
treea9f33d9a69eb44c510c523628022c53456af0e25 /channels/chan_zap.c
parent888ead8b0ae2de27d651233bc94940233dd13bea (diff)
Merged revisions 115548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r115548 | mattf | 2008-05-08 10:04:45 -0500 (Thu, 08 May 2008) | 1 line Remove unused code as well as demote an error message to a debug message ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115549 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index c267116d1..e621b7636 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -9362,21 +9362,17 @@ static void *ss7_linkset(void *data)
res = ss7_read(ss7, pollers[i].fd);
ast_mutex_unlock(&linkset->lock);
}
+
if (pollers[i].revents & POLLOUT) {
ast_mutex_lock(&linkset->lock);
res = ss7_write(ss7, pollers[i].fd);
ast_mutex_unlock(&linkset->lock);
if (res < 0) {
- ast_log(LOG_ERROR, "Error in write %s", strerror(errno));
+ ast_debug(1, "Error in write %s\n", strerror(errno));
}
}
}
-#if 0
- if (res < 0)
- exit(-1);
-#endif
-
while ((e = ss7_check_event(ss7))) {
switch (e->e) {
case SS7_EVENT_UP: