X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-socket.c;h=36a5f15768509e3a1177f8d2d6db668bab362dbe;hp=e544471ade9809de2a8cc34a33ef9dc20d090b06;hb=d7cba4993e5c7c06c655d9a1d903f889fdee8329;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/zoom-socket.c b/src/zoom-socket.c index e544471..36a5f15 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-2009 Index Data + * Copyright (C) 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);