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
yaz-ztest returns schema for MARCXML test records
[yaz-moved-to-github.git]
/
src
/
unix.c
diff --git
a/src/unix.c
b/src/unix.c
index
7fe4b77
..
d9061f9
100644
(file)
--- a/
src/unix.c
+++ b/
src/unix.c
@@
-165,12
+165,8
@@
COMSTACK unix_type(int s, int flags, int protocol, void *vp)
state->altbuf = 0;
state->altsize = state->altlen = 0;
state->towrite = state->written = -1;
state->altbuf = 0;
state->altsize = state->altlen = 0;
state->towrite = state->written = -1;
- if (protocol == PROTO_WAIS)
- state->complete = completeWAIS;
- else
- state->complete = cs_complete_auto;
+ state->complete = cs_complete_auto;
- p->timeout = COMSTACK_DEFAULT_TIMEOUT;
TRC(fprintf(stderr, "Created new UNIX comstack\n"));
return p;
TRC(fprintf(stderr, "Created new UNIX comstack\n"));
return p;