projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
526ab3a
)
WIN32 fixes.
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 3 Jan 2002 10:23:46 +0000
(10:23 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 3 Jan 2002 10:23:46 +0000
(10:23 +0000)
zoom/zoom-c.c
patch
|
blob
|
history
diff --git
a/zoom/zoom-c.c
b/zoom/zoom-c.c
index
094c6e6
..
c87a035
100644
(file)
--- a/
zoom/zoom-c.c
+++ b/
zoom/zoom-c.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: zoom-c.c,v 1.16 2002-01-02 10:30:25 adam Exp $
+ * $Id: zoom-c.c,v 1.17 2002-01-03 10:23:46 adam Exp $
*
* ZOOM layer for C, connections, result sets, queries.
*/
*
* ZOOM layer for C, connections, result sets, queries.
*/
@@
-446,7
+446,6
@@
static void ZOOM_resultset_retrieve (ZOOM_resultset r,
{
ZOOM_task task;
ZOOM_connection c;
{
ZOOM_task task;
ZOOM_connection c;
- const char *cp;
if (!r)
return;
if (!r)
return;
@@
-1094,6
+1093,7
@@
static int scan_response (ZOOM_connection c, Z_ScanResponse *res)
scan->scan_response = res;
nmem_transfer (scan->odr->mem, nmem);
nmem_destroy (nmem);
scan->scan_response = res;
nmem_transfer (scan->odr->mem, nmem);
nmem_destroy (nmem);
+ return 1;
}
static int send_sort (ZOOM_connection c)
}
static int send_sort (ZOOM_connection c)
@@
-1841,7
+1841,7
@@
int ZOOM_event (int no, ZOOM_connection *cs)
}
if (r == 0 && c->mask)
{
}
if (r == 0 && c->mask)
{
- ZOOM_Event event = ZOOM_Event_create(ZOOM_EVENT_IO_TIMEOUT);
+ ZOOM_Event event = ZOOM_Event_create(ZOOM_EVENT_TIMEOUT);
/* timeout and this connection was waiting */
c->error = ZOOM_ERROR_TIMEOUT;
do_close (c);
/* timeout and this connection was waiting */
c->error = ZOOM_ERROR_TIMEOUT;
do_close (c);