X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst1.c;h=8369f6322ce1a0999d99a8d779850d634fc200d3;hb=fe42f72dc30321041420cf2d1a83867b1c450f38;hp=76ff2d7e73dfe96a05f6f021d13ec3dd9fcad47e;hpb=d57ade59211707b9bcfacc61039e446c9fa3f36f;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst1.c b/zoom/zoomtst1.c index 76ff2d7..8369f63 100644 --- a/zoom/zoomtst1.c +++ b/zoom/zoomtst1.c @@ -1,8 +1,7 @@ -/* $Id: zoomtst1.c,v 1.5 2006-04-21 10:28:08 adam Exp $ */ - -/** \file zoomtst1.c - \brief Synchronous single-target client doing search (but no retrieval) -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2012 Index Data + * See the file LICENSE for details. + */ #include #include @@ -23,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); @@ -42,6 +41,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