X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst9.c;h=b3bb17f4b92093b0e57e0301e9b9be5a5d5da571;hb=6ab7468ae9a46a330eddc1faa88f1d4e4fff1da9;hp=6f74686bc854b5dc53e3324166c85c1b18220649;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst9.c b/zoom/zoomtst9.c index 6f74686..b3bb17f 100644 --- a/zoom/zoomtst9.c +++ b/zoom/zoomtst9.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. */ @@ -32,15 +32,15 @@ int main(int argc, char **argv) ZOOM_options o = ZOOM_options_create (); int error; const char *errmsg, *addinfo; - + if (argc < 3) usage(); z = ZOOM_connection_create (o); - + /* connect and init */ ZOOM_connection_connect (z, argv[1], 0); - + if ((error = ZOOM_connection_error(z, &errmsg, &addinfo))) { fprintf(stderr, "%s error: %s (%d) %s\n", @@ -106,6 +106,7 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab