From ed6736a60464a131d0edb37467c15cf010bc588f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 28 Aug 2011 00:09:38 +0200 Subject: [PATCH] rpn2cql: handle \\ sequence --- src/rpn2cql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpn2cql.c b/src/rpn2cql.c index 03963f4..aef1cfd 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -238,7 +238,7 @@ static int rpn2cql_simple(cql_transform_t ct, if (sterm[i] == '\\' && i < lterm - 1) { i++; - if (strchr("*?\"", sterm[i])) + if (strchr("*?\"\\", sterm[i])) wrbuf_putc(w, '\\'); wrbuf_putc(w, sterm[i]); } -- 1.7.10.4