diff libfdcore/sctp3436.c @ 1190:6a1042d8075b

Replace FDEV_TERMINATE events with calls to fd_core_shutdown to handle the core state properly
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 10 Jun 2013 16:44:18 +0800
parents 56c36d1007b4
children a5c072798f1a
line wrap: on
line diff
--- a/libfdcore/sctp3436.c	Mon Jun 10 16:23:09 2013 +0800
+++ b/libfdcore/sctp3436.c	Mon Jun 10 16:44:18 2013 +0800
@@ -129,7 +129,7 @@
 	
 fatal:
 	/* An unrecoverable error occurred, stop the daemon */
-	CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_TERMINATE, 0, NULL), );
+	CHECK_FCT_DO(fd_core_shutdown(), );
 	goto out;
 }
 
"Welcome to our mercurial repository"