changeset 375:40507b3750da

No need to return an error there
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 05 Jul 2010 11:36:38 +0900
parents 8f4ae09bc7c3
children ea6823f46fe8
files freeDiameter/p_cnx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/freeDiameter/p_cnx.c	Mon Jul 05 11:35:15 2010 +0900
+++ b/freeDiameter/p_cnx.c	Mon Jul 05 11:36:38 2010 +0900
@@ -196,7 +196,7 @@
 	}
 #endif /* DISABLE_SCTP */
 	
-	return FD_IS_LIST_EMPTY(&peer->p_connparams) ? EINVAL : 0;
+	return 0;
 }
 
 
"Welcome to our mercurial repository"