Fix wrbuf call - introduced by MPSPARQL-9
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 17 Feb 2015 13:39:48 +0000 (14:39 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 17 Feb 2015 13:39:48 +0000 (14:39 +0100)
src/sparql.c

index 55b02e1..3744fe6 100644 (file)
@@ -405,7 +405,7 @@ int yaz_sparql_from_rpn_stream(yaz_sparql_t s,
         if (!strcmp(e->pattern, "modifier"))
         {
             pr(e->value, client_data);
-            pr(e->value, "\n");
+            pr("\n", client_data);
         }
     }
     yaz_tok_cfg_destroy(cfg);