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
Use schema in Z39.50 Update.
[yaz-moved-to-github.git]
/
src
/
zoom-socket.c
diff --git
a/src/zoom-socket.c
b/src/zoom-socket.c
index
da72eda
..
9299884
100644
(file)
--- a/
src/zoom-socket.c
+++ b/
src/zoom-socket.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom-socket.c,v 1.5 2007-11-09 16:46:43 adam Exp $
+ * $Id: zoom-socket.c,v 1.7 2007-11-10 08:59:31 adam Exp $
*/
/**
* \file zoom-socket.c
*/
/**
* \file zoom-socket.c
@@
-68,7
+68,7
@@
ZOOM_API(int)
xfree(yp);
return 0;
}
xfree(yp);
return 0;
}
- r = yaz_poll(yp, nfds, timeout);
+ r = yaz_poll(yp, nfds, timeout, 0);
if (r >= 0)
{
for (i = 0; i < nfds; i++)
if (r >= 0)
{
for (i = 0; i < nfds; i++)
@@
-102,7
+102,8
@@
ZOOM_API(int)
r = ZOOM_event_nonblock(no, cs);
if (r)
return r;
r = ZOOM_event_nonblock(no, cs);
if (r)
return r;
- ZOOM_event_sys_yaz_poll(no, cs);
+ while (ZOOM_event_sys_yaz_poll(no, cs) < 0 && errno == EINTR)
+ ;
return ZOOM_event_nonblock(no, cs);
}
return ZOOM_event_nonblock(no, cs);
}