X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Frpn2cql.c;h=aef1cfd22def2c110b5a06ce7a06610baafbb49e;hb=ed6736a60464a131d0edb37467c15cf010bc588f;hp=03963f437224e8fdf302255df16827f8fabd1fe5;hpb=cf4a74a0d6b17bf1c6582835a7fceaec7ad4115d;p=yaz-moved-to-github.git 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]); }