Mercurial > hg > freeDiameter-dtls
diff libfdcore/p_dp.c @ 1186:56c36d1007b4 dtls_dev
Further preparation of the DTLS integration. Some cleanups in the GNUTLS handling.
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Fri, 07 Jun 2013 18:48:34 +0800 |
parents | 1af09cc156d6 |
children |
line wrap: on
line diff
--- a/libfdcore/p_dp.c Thu Jun 06 19:06:00 2013 +0800 +++ b/libfdcore/p_dp.c Fri Jun 07 18:48:34 2013 +0800 @@ -117,7 +117,7 @@ CHECK_FCT( fd_psm_change_state(peer, STATE_CLOSING) ); /* Now send the DPA */ - CHECK_FCT( fd_out_send( msg, NULL, peer, FD_CNX_ORDERED) ); + CHECK_FCT( fd_out_send( msg, NULL, peer) ); /* and move to CLOSED */ fd_psm_cleanup(peer, 0); @@ -131,7 +131,7 @@ fd_psm_next_timeout(peer, 0, GRACE_TIMEOUT); /* Now send the DPA */ - CHECK_FCT( fd_out_send( msg, NULL, peer, FD_CNX_ORDERED) ); + CHECK_FCT( fd_out_send( msg, NULL, peer) ); } } else { /* We received a DPA */ @@ -201,7 +201,7 @@ fd_psm_next_timeout(peer, 0, DPR_TIMEOUT); /* Now send the DPR message */ - CHECK_FCT_DO( fd_out_send(&msg, NULL, peer, FD_CNX_ORDERED), /* ignore since we are on timeout anyway */ ); + CHECK_FCT_DO( fd_out_send(&msg, NULL, peer), /* ignore since we are on timeout anyway */ ); return 0; }