X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-socket.c;h=36a5f15768509e3a1177f8d2d6db668bab362dbe;hp=2d9d6863ade846a01d3cb97f954e1546ae99ac54;hb=f36abe0a776fa52b972a3fec1b46b94e26814f22;hpb=3576736bac485d8f04b2fc4f6b5cfcef7576d741 diff --git a/src/zoom-socket.c b/src/zoom-socket.c index 2d9d686..36a5f15 100644 --- a/src/zoom-socket.c +++ b/src/zoom-socket.c @@ -1,13 +1,14 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) Index Data * See the file LICENSE for details. - * - * $Id: zoom-socket.c,v 1.8 2007-11-30 11:44:47 adam Exp $ */ /** * \file zoom-socket.c * \brief Implements ZOOM C socket interface. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -38,7 +39,7 @@ ZOOM_API(int) { ZOOM_connection c = cs[i]; int fd, mask; - + if (!c) continue; fd = ZOOM_connection_get_socket(c); @@ -110,6 +111,7 @@ ZOOM_API(int) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab