projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash in record conv rule select YAZ-812
[yaz-moved-to-github.git]
/
src
/
zoom-socket.c
diff --git
a/src/zoom-socket.c
b/src/zoom-socket.c
index
1c25092
..
36a5f15
100644
(file)
--- a/
src/zoom-socket.c
+++ b/
src/zoom-socket.c
@@
-1,11
+1,14
@@
/* This file is part of the YAZ toolkit.
/* 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.
*/
* See the file LICENSE for details.
*/
/**
* \file zoom-socket.c
* \brief Implements ZOOM C socket interface.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <string.h>
#include <assert.h>
#include <string.h>
@@
-36,7
+39,7
@@
ZOOM_API(int)
{
ZOOM_connection c = cs[i];
int fd, mask;
{
ZOOM_connection c = cs[i];
int fd, mask;
-
+
if (!c)
continue;
fd = ZOOM_connection_get_socket(c);
if (!c)
continue;
fd = ZOOM_connection_get_socket(c);
@@
-108,6
+111,7
@@
ZOOM_API(int)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab