X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstrer.c;h=3b61df7a635486f3f58e12c0433f101871b58d8d;hp=4a05a08c6aacae61a0d4d70d62b57523c974d82e;hb=9d12e94d17d3c31124221dc914aa36c9d8154643;hpb=f53079fadcadb1eeef45e1e6d254801d984d6068 diff --git a/src/cqlstrer.c b/src/cqlstrer.c index 4a05a08..3b61df7 100644 --- a/src/cqlstrer.c +++ b/src/cqlstrer.c @@ -1,23 +1,21 @@ -/* $Id: cqlstrer.c,v 1.3 2004-10-03 22:34:07 adam Exp $ - Copyright (C) 2002-2004 - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE details. -*/ - +/* This file is part of the YAZ toolkit. + * Copyright (C) Index Data + * See the file LICENSE for details. + */ /** * \file cqlstrer.c * \brief Implements CQL error code map to description string. */ +#if HAVE_CONFIG_H +#include +#endif #include /* * The error-messages associated with these codes are taken from * the SRW diagnostic specifications at - * http://www.loc.gov/srw/diagnostic-list.html + * http://www.loc.gov/standards/sru/diagnostics-list.html */ const char *cql_strerror(int code) { static char buf[80]; @@ -64,3 +62,12 @@ const char *cql_strerror(int code) { sprintf(buf, "Unknown CQL error #%d", code); return buf; } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +