From: Adam Dickmeiss Date: Tue, 2 Jun 2015 13:49:13 +0000 (+0200) Subject: delete-trailing-whitespace X-Git-Tag: v1.10.0~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=43a2ca203beb7ab79ffa7103336f003c88fff97d;p=pazpar2-moved-to-github.git delete-trailing-whitespace --- diff --git a/src/client.c b/src/client.c index 63be8d4..4e36630 100644 --- a/src/client.c +++ b/src/client.c @@ -1540,7 +1540,7 @@ int client_parse_query(struct client *cl, const char *query, { if (cl->pquery) session_log(se, YLOG_LOG, "Client %s: " - "Re-search due query/limit change: %s to %s", + "Re-search due query/limit change: %s to %s", client_get_id(cl), cl->pquery, wrbuf_cstr(w_pqf)); xfree(cl->pquery); cl->pquery = xstrdup(wrbuf_cstr(w_pqf)); @@ -1747,7 +1747,7 @@ const char *client_get_suggestions_xml(struct client *cl, WRBUF wrbuf) /* int idx; */ struct suggestions *suggestions = cl->suggestions; - if (!suggestions) + if (!suggestions) return ""; if (suggestions->passthrough) {