diff freeDiameter/main.c @ 70:65b32c93f21e

Do not wait for timeout when all connections attempts have failed
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 01 Dec 2009 11:08:23 +0900
parents 67ca08d5bc48
children b6344f1d521a
line wrap: on
line diff
--- a/freeDiameter/main.c	Mon Nov 30 18:44:28 2009 +0900
+++ b/freeDiameter/main.c	Tue Dec 01 11:08:23 2009 +0900
@@ -60,6 +60,7 @@
 	pthread_t sig_th;
 	sigset_t sig_all;
 	
+	/* Block all signals */
 	memset(fd_g_config, 0, sizeof(struct fd_config));
 	sigfillset(&sig_all);
 	CHECK_POSIX(  pthread_sigmask(SIG_BLOCK, &sig_all, NULL)  );
"Welcome to our mercurial repository"