X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=comstack%2Funix.c;fp=comstack%2Funix.c;h=bfd6de100a13b9d8482633d69663cd5caa6795af;hp=908ab7e6b780a4b46b2118ce47ee0aa8a120b667;hb=4ca818ec201c9dcf5461e419002c95fd2eac620e;hpb=add5a2db6b4360b1b448ad09f991a3977eb1220d diff --git a/comstack/unix.c b/comstack/unix.c index 908ab7e..bfd6de1 100644 --- a/comstack/unix.c +++ b/comstack/unix.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: unix.c,v 1.9 2003-01-06 08:20:27 adam Exp $ + * $Id: unix.c,v 1.10 2003-02-21 12:08:58 adam Exp $ * UNIX socket COMSTACK. By Morten Bøgeskov. */ #ifndef WIN32 @@ -23,9 +23,6 @@ #include #include -/* Chas added the following, so we get the definition of completeBER */ -#include - #ifndef YAZ_SOCKLEN_T #define YAZ_SOCKLEN_T int #endif @@ -140,7 +137,7 @@ COMSTACK unix_type(int s, int blocking, int protocol, void *vp) if (protocol == PROTO_WAIS) state->complete = completeWAIS; else - state->complete = completeBER; + state->complete = cs_complete_auto; p->timeout = COMSTACK_DEFAULT_TIMEOUT; TRC(fprintf(stderr, "Created new UNIX comstack\n"));