X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst1.c;h=8369f6322ce1a0999d99a8d779850d634fc200d3;hp=76d5152c4a35beb685f57471569a0cea7e716558;hb=6ab7468ae9a46a330eddc1faa88f1d4e4fff1da9;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/zoom/zoomtst1.c b/zoom/zoomtst1.c index 76d5152..8369f63 100644 --- a/zoom/zoomtst1.c +++ b/zoom/zoomtst1.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -22,7 +22,7 @@ int main(int argc, char **argv) exit (1); } 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);