X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst6.c;h=efb94daf55a687125d85823963a111f4d394e623;hp=a5a215c63419b4c1449a33757baa0afb42ec9430;hb=fd2f1538cdb20385c2c267d318c59d567eb3d242;hpb=15f2d80b134fa41e213f6328440d1a25f80efd97 diff --git a/zoom/zoomtst6.c b/zoom/zoomtst6.c index a5a215c..efb94da 100644 --- a/zoom/zoomtst6.c +++ b/zoom/zoomtst6.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst6.c,v 1.5 2001-11-15 21:59:40 adam Exp $ + * $Id: zoomtst6.c,v 1.6 2001-11-16 09:52:39 adam Exp $ * * Asynchronous multi-target client doing two searches */ @@ -105,12 +105,12 @@ int main(int argc, char **argv) const char *errmsg, *addinfo; if ((error = Z3950_connection_error(z[i], &errmsg, &addinfo))) fprintf (stderr, "%s error: %s (%d) %s\n", - Z3950_connection_host(z[i]), + Z3950_connection_option_get(z[i], "host"), errmsg, error, addinfo); else { - display_records (Z3950_connection_host(z[i]), r1[i]); - display_records (Z3950_connection_host(z[i]), r2[i]); + display_records (Z3950_connection_option_get(z[i], "host"), r1[i]); + display_records (Z3950_connection_option_get(z[i], "host"), r2[i]); } } /* destroy stuff and exit */