Comment fixes only
authorDennis Schafroth <dennis@indexdata.com>
Wed, 4 Nov 2009 15:15:23 +0000 (16:15 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 4 Nov 2009 15:15:23 +0000 (16:15 +0100)
src/rpn2cql.c

index 2187838..5530d01 100644 (file)
@@ -59,10 +59,9 @@ static const char *lookup_relation_index_from_attr(Z_AttributeList *attributes)
             {
                 /* Only support for numeric relation */
                 Odr_int *relation = ae->value.numeric;
             {
                 /* Only support for numeric relation */
                 Odr_int *relation = ae->value.numeric;
-                /* map this numeric to represetation in cql */
+                /* map this numeric to representation in CQL */
                 switch (*relation) {
                 switch (*relation) {
-                    /* Unsure on whether this is the relation attribute 
-                       const? */
+                    /* Unsure on whether this is the relation attribute constants? */
                     case Z_ProximityOperator_Prox_lessThan: 
                         return "<";
                     case Z_ProximityOperator_Prox_lessThanOrEqual: 
                     case Z_ProximityOperator_Prox_lessThan: 
                         return "<";
                     case Z_ProximityOperator_Prox_lessThanOrEqual: