From: Kern Sibbald Date: Mon, 4 Feb 2019 09:41:35 +0000 (+0100) Subject: Use correct quoting for a character -- fixes previous patch X-Git-Tag: Release-9.4.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36e67f7223ff86b113aa7a87f9958d1baedae82f;p=thirdparty%2Fbacula.git Use correct quoting for a character -- fixes previous patch --- diff --git a/bacula/src/dird/ua_query.c b/bacula/src/dird/ua_query.c index 9df9e7cc4..86fc4d1a2 100644 --- a/bacula/src/dird/ua_query.c +++ b/bacula/src/dird/ua_query.c @@ -277,7 +277,7 @@ int sqlquery_cmd(UAContext *ua, const char *cmd) len = strlen(ua->cmd); Dmsg2(400, "len=%d cmd=%s:\n", len, ua->cmd); /* Break on empty or . */ - if (len == 0 || (len == 1 && ua->cmd[0] == ".")) { + if (len == 0 || (len == 1 && ua->cmd[0] == '.')) { break; } if (*query.c_str() != 0) {