From 173572735db6564239b28435231d34fada3fb446 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 7 Apr 2011 14:05:32 +0200 Subject: [PATCH 1/1] Fix left-right truncation fix --- src/rpn2cql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 1.7.10.4