changeset 402:1e1dc47ef241

Fix remaining problem, closes #6
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 08 Jul 2010 12:50:10 +0900
parents 76bdc4070347
children 26aafbbc1640
files freeDiameter/cnxctx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
"Welcome to our mercurial repository"