X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst9.c;h=2e19f6dca02b60a343b6791c5c705585b0b83aab;hp=fd0115845c1d51d65a4971b8d4ac5b40c5848a46;hb=11ed1645174d8ca8d8dcf5ef2bbe91e70a4a3e00;hpb=8d691989077a0addcbd840d769dce6700f3d9622 diff --git a/zoom/zoomtst9.c b/zoom/zoomtst9.c index fd01158..2e19f6d 100644 --- a/zoom/zoomtst9.c +++ b/zoom/zoomtst9.c @@ -1,8 +1,7 @@ -/* $Id: zoomtst9.c,v 1.5 2007-01-03 08:42:17 adam Exp $ */ - -/** \file zoomtst9.c - \brief Extended Service Update -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) Index Data + * See the file LICENSE for details. + */ #include #include @@ -33,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", @@ -107,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