Mercurial > hg > freeDiameter
diff freeDiameter/p_out.c @ 37:cc3c59fe98fe
Lot of cleanups in peer structure management
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 05 Nov 2009 14:28:46 +0900 |
parents | 6486e97f56ae |
children | 442f9cf1c704 |
line wrap: on
line diff
--- a/freeDiameter/p_out.c Mon Nov 02 17:31:36 2009 +0900 +++ b/freeDiameter/p_out.c Thu Nov 05 14:28:46 2009 +0900 @@ -139,7 +139,7 @@ TRACE_ENTRY("%p %p %p", msg, cnx, peer); CHECK_PARAMS( msg && *msg && (cnx || (peer && peer->p_cnxctx))); - if (peer && (peer->p_hdr.info.pi_state == STATE_OPEN)) { + if (peer && (peer->p_hdr.info.runtime.pir_state == STATE_OPEN)) { /* Normal case: just queue for the out thread to pick it up */ CHECK_FCT( fd_fifo_post(peer->p_tosend, msg) );