[libss7-commits] mattf: branch mattf/bug13495 r241 - /team/mattf/bug13495/ss7.c
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Thu Dec 11 13:42:58 CST 2008
Author: mattf
Date: Thu Dec 11 13:42:57 2008
New Revision: 241
URL: http://svn.digium.com/view/libss7?view=rev&rev=241
Log:
Fix some poll flags for TCP
Modified:
team/mattf/bug13495/ss7.c
Modified: team/mattf/bug13495/ss7.c
URL: http://svn.digium.com/view/libss7/team/mattf/bug13495/ss7.c?view=diff&rev=241&r1=240&r2=241
==============================================================================
--- team/mattf/bug13495/ss7.c (original)
+++ team/mattf/bug13495/ss7.c Thu Dec 11 13:42:57 2008
@@ -328,7 +328,9 @@
if (ss7->links[winner]->flags & MTP2_FLAG_ZAPMTP2) {
if (ss7->links[winner]->flags & MTP2_FLAG_WRITE)
flags |= POLLOUT;
- } else if (!(ss7->links[winner]->flags & MTP2_FLAG_TCP)) {
+ } else if (ss7->links[winner]->flags & MTP2_FLAG_TCP) {
+ flags = POLLIN;
+ } else {
flags |= POLLOUT;
}
More information about the libss7-commits
mailing list