Mercurial > hg > freeDiameter
diff freeDiameter/cnxctx.c @ 250:07624e65c7e0
Loop anyway until we get a real message or an error
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 02 Apr 2010 16:37:40 +0900 |
parents | f89b5a12d2af |
children | 52c1547dab42 |
line wrap: on
line diff
--- a/freeDiameter/cnxctx.c Fri Apr 02 15:55:26 2010 +0900 +++ b/freeDiameter/cnxctx.c Fri Apr 02 16:37:40 2010 +0900 @@ -739,7 +739,7 @@ CHECK_FCT_DO( fd_event_send( Target_Queue(conn), event, bufsz, buf), goto fatal ); - } while (conn->cc_loop); + } while (conn->cc_loop || (event != FDEVP_CNX_MSG_RECV)); out: TRACE_DEBUG(FULL, "Thread terminated");