changeset 158:199751667186

Cleanup
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 20 Jan 2010 17:08:11 +0900
parents 2b3a1ff2ed10
children 94898702db87
files freeDiameter/sctps.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/freeDiameter/sctps.c	Wed Jan 20 16:13:15 2010 +0900
+++ b/freeDiameter/sctps.c	Wed Jan 20 17:08:11 2010 +0900
@@ -569,6 +569,7 @@
 	for (i = 1; i < conn->cc_sctp_para.pairs; i++) {
 		void * ret;
 		CHECK_POSIX( pthread_join(conn->cc_sctps_data.array[i].thr, &ret) );
+		conn->cc_sctps_data.array[i].thr = (pthread_t) NULL;
 		if (ret == NULL) {
 			errors++; /* Handshake failed on this stream */
 		}
"Welcome to our mercurial repository"