X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-socket.c;h=d58e58f85e1e3bf1394185106e64eb56c20f861d;hp=c0b670ff074c178ab538411853d48bcebc23bb22;hb=d2ed898832ae354c17254ff52c70c92278518efe;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/zoom-socket.c b/src/zoom-socket.c index c0b670f..d58e58f 100644 --- a/src/zoom-socket.c +++ b/src/zoom-socket.c @@ -1,11 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** * \file zoom-socket.c * \brief Implements ZOOM C socket interface. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -36,7 +39,7 @@ ZOOM_API(int) { ZOOM_connection c = cs[i]; int fd, mask; - + if (!c) continue; fd = ZOOM_connection_get_socket(c);