X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=comstack%2Fcomstack.c;h=f1892eabac51c3a21e1767784cf6667f34524270;hp=12429981ef8e66ce33c157c5d5953559e4a958d3;hb=8030536c98d595898b316df5eb118b1d6398450c;hpb=6438b1afb3455d2b0aba71e90c873e3b8a6d5e54 diff --git a/comstack/comstack.c b/comstack/comstack.c index 1242998..f1892ea 100644 --- a/comstack/comstack.c +++ b/comstack/comstack.c @@ -1,10 +1,16 @@ /* - * Copyright (c) 1995, Index Data + * Copyright (c) 1995-1998, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: comstack.c,v $ - * Revision 1.3 1997-09-01 08:49:14 adam + * Revision 1.5 1998-06-22 11:32:35 adam + * Added 'conditional cs_listen' feature. + * + * Revision 1.4 1997/09/29 07:16:14 adam + * Array cs_errlist no longer global. + * + * Revision 1.3 1997/09/01 08:49:14 adam * New windows NT/95 port using MSV5.0. Minor changes only. * * Revision 1.2 1995/09/29 17:01:48 quinn @@ -24,13 +30,14 @@ #include -const char *cs_errlist[] = +static const char *cs_errlist[] = { "No error or unspecified error", "System (lower-layer) error", "Operation out of state", "No data (operation would block)", - "New data while half of old buffer is on the line (flow control)" + "New data while half of old buffer is on the line (flow control)", + "Permission denied" }; const char *cs_errmsg(int n)