From bd75f23928644eba826382a45d42756cdd2ac7b1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 2 Sep 2013 12:47:54 +0200 Subject: [PATCH] Rephrase logs about start-search --- src/client.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client.c b/src/client.c index 662937f..a8dde60 100644 --- a/src/client.c +++ b/src/client.c @@ -867,12 +867,13 @@ int client_start_search(struct client *cl) /* Nothing has changed and we already have a result */ if (cl->same_search == 1 && rc_prep_connection == 2) { - session_log(se, YLOG_LOG, "client %s REUSE result", client_get_id(cl)); + session_log(se, YLOG_LOG, "client %s resuse result", client_get_id(cl)); return client_reingest(cl); } else if (!rc_prep_connection) { - session_log(se, YLOG_LOG, "client %s FAILED to search: No connection.", client_get_id(cl)); + session_log(se, YLOG_LOG, "client %s postponing search: No connection", + client_get_id(cl)); return -1; } co = client_get_connection(cl); @@ -880,7 +881,7 @@ int client_start_search(struct client *cl) link = connection_get_link(co); assert(link); - session_log(se, YLOG_LOG, "client %s NEW search", client_get_id(cl)); + session_log(se, YLOG_LOG, "client %s new search", client_get_id(cl)); cl->diagnostic = 0; cl->filtered = 0; -- 1.7.10.4