# HG changeset patch # User Thomas Klausner # Date 1487257568 -3600 # Node ID 949973661b25c0930a0fae6fb6e0bdd98d0ea543 # Parent 69f89db51c72e21cace21f5d470f39b34a17e49c Log an error when going to ZOMBIE state. Add quotes to a message for consistency. diff -r 69f89db51c72 -r 949973661b25 libfdcore/p_psm.c --- 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 */