Changeset 1238:8f9684264fe0 in freeDiameter for libfdcore/p_out.c
- Timestamp:
- Oct 10, 2013, 11:08:46 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/p_out.c
r1207 r1238 160 160 161 161 /* Wrapper to sending a message either by out thread (peer in OPEN state) or directly; cnx or peer must be provided. Flags are valid only for direct sending, not through thread (unused) */ 162 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer )162 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer, int update_reqin_cnt) 163 163 { 164 164 struct msg_hdr * hdr; … … 167 167 CHECK_PARAMS( msg && *msg && (cnx || (peer && peer->p_cnxctx))); 168 168 169 if ( peer) {169 if (update_reqin_cnt && peer) { 170 170 CHECK_FCT( fd_msg_hdr(*msg, &hdr) ); 171 171 if (!(hdr->msg_flags & CMD_FLAG_REQUEST)) {
Note: See TracChangeset
for help on using the changeset viewer.