changeset 1320:949973661b25

Log an error when going to ZOMBIE state. Add quotes to a message for consistency.
author Thomas Klausner <tk@giga.or.at>
date Thu, 16 Feb 2017 16:06:08 +0100
parents 69f89db51c72
children 8288982c63b7
files libfdcore/p_psm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libfdcore/p_psm.c	Mon Jan 23 23:36:40 2017 +0900
+++ b/libfdcore/p_psm.c	Thu Feb 16 16:06:08 2017 +0100
@@ -885,9 +885,9 @@
 	goto psm_loop;
 	
 psm_end:
-	LOG_N("%s: Going to ZOMBIE state (no more activity)", peer->p_hdr.info.pi_diamid);
+	LOG_E("%s: Going to ZOMBIE state (no more activity)", peer->p_hdr.info.pi_diamid);
 	fd_psm_cleanup(peer, 1);
-	TRACE_DEBUG(INFO, "'%s'\t-> STATE_ZOMBIE (terminated)\t'%s'",
+	TRACE_DEBUG(INFO, "'%s'\t-> 'STATE_ZOMBIE' (terminated)\t'%s'",
 			STATE_STR(fd_peer_getstate(peer)),
 			peer->p_hdr.info.pi_diamid);
 	pthread_cleanup_pop(1); /* set STATE_ZOMBIE */
"Welcome to our mercurial repository"