# HG changeset patch # User Sebastien Decugis # Date 1278561010 -32400 # Node ID 1e1dc47ef241521b8875119330fe658d49de62cf # Parent 76bdc40703472a0442912f0e2621c5bf8f013ddd Fix remaining problem, closes #6 diff -r 76bdc4070347 -r 1e1dc47ef241 freeDiameter/cnxctx.c --- a/freeDiameter/cnxctx.c Thu Jul 08 12:43:25 2010 +0900 +++ b/freeDiameter/cnxctx.c Thu Jul 08 12:50:10 2010 +0900 @@ -403,7 +403,7 @@ /* Retrieve the number of streams and primary address */ CHECK_FCT_DO( fd_sctp_get_str_info( sock, &cnx->cc_sctp_para.str_in, &cnx->cc_sctp_para.str_out, &primary ), goto error ); - if (cnx->cc_sctp_para.str_out > cnx->cc_sctp_para.str_in) + if (cnx->cc_sctp_para.str_out < cnx->cc_sctp_para.str_in) cnx->cc_sctp_para.pairs = cnx->cc_sctp_para.str_out; else cnx->cc_sctp_para.pairs = cnx->cc_sctp_para.str_in;