From: Dennis Schafroth Date: Thu, 7 Apr 2011 12:05:32 +0000 (+0200) Subject: Fix left-right truncation fix X-Git-Tag: v4.2.0~46^2~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=173572735db6564239b28435231d34fada3fb446;p=yaz-moved-to-github.git Fix left-right truncation fix --- diff --git a/src/rpn2cql.c b/src/rpn2cql.c index ea21793..b1063a1 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -182,11 +182,11 @@ static int checkForTruncation(int flag, Z_AttributeList *attributes) }; static int checkForLeftTruncation(Z_AttributeList *attributes) { - return checkForTruncation(1, attributes); + return checkForTruncation(2, attributes); } static int checkForRightTruncation(Z_AttributeList *attributes) { - return checkForTruncation(2, attributes); + return checkForTruncation(1, attributes); }; static int rpn2cql_simple(cql_transform_t ct,