Fix typo for xcql encoding
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Sep 2013 07:33:02 +0000 (09:33 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Sep 2013 07:33:02 +0000 (09:33 +0200)
src/srwutil.c

index 2cf49c3..91808b0 100644 (file)
@@ -909,7 +909,7 @@ static int yaz_get_sru_parms(const Z_SRW_PDU *srw_pdu, ODR encode,
                 yaz_add_name_value_str(encode, name, value, &i, "x-pquery",
                                        srw_pdu->u.request->query);
             }
-            else if (!strcmp(queryType, "pqf"))
+            else if (!strcmp(queryType, "xcql"))
             {
                 yaz_add_name_value_str(encode, name, value, &i, "x-cql",
                                        srw_pdu->u.request->query);