X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst10.c;h=ddf957b0ab7848300ac7197b7f5c008ebd3fb9aa;hb=fe42f72dc30321041420cf2d1a83867b1c450f38;hp=eb4a1334d434e5266de2d6601827e4c70f522f67;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst10.c b/zoom/zoomtst10.c index eb4a133..ddf957b 100644 --- a/zoom/zoomtst10.c +++ b/zoom/zoomtst10.c @@ -25,7 +25,7 @@ int main(int argc, char **argv) exit (1); } - if (ZOOM_query_ccl2rpn(q, argv[2], + if (ZOOM_query_ccl2rpn(q, argv[2], "term t=l,r s=al\n" "ti u=4 s=pw\n", &ccl_error_code, &ccl_error_string, &ccl_error_pos)) { @@ -37,13 +37,13 @@ int main(int argc, char **argv) else { z = ZOOM_connection_new (argv[1], 0); - + if ((error = ZOOM_connection_error(z, &errmsg, &addinfo))) { fprintf (stderr, "Error: %s (%d) %s\n", errmsg, error, addinfo); exit (2); } - + r = ZOOM_connection_search (z, q); ZOOM_query_destroy(q); if ((error = ZOOM_connection_error(z, &errmsg, &addinfo)))