X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst9.c;h=2e19f6dca02b60a343b6791c5c705585b0b83aab;hp=db1840b8655f49c3fc808aafd2b89a15a0587709;hb=d84e4c3cd444d04aee7beeadb5bb0ae061ee24c9;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0 diff --git a/zoom/zoomtst9.c b/zoom/zoomtst9.c index db1840b..2e19f6d 100644 --- a/zoom/zoomtst9.c +++ b/zoom/zoomtst9.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 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