X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst9.c;h=09bf1b8f74b5cea0c4dbe03082218d685095c794;hp=f97c84fd35626263b7bc3081bc7adfedc5d5a4a1;hb=cf0d647d4a642af04013d09f412e8629897187c5;hpb=9dfcbb70828f8d5b524c9bb45852246ae1dd6878 diff --git a/zoom/zoomtst9.c b/zoom/zoomtst9.c index f97c84f..09bf1b8 100644 --- a/zoom/zoomtst9.c +++ b/zoom/zoomtst9.c @@ -1,8 +1,7 @@ -/* $Id: zoomtst9.c,v 1.4 2006-10-04 16:59:35 mike Exp $ */ - -/** \file zoomtst9.c - \brief Extended Service Update -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2013 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