X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftcpip.c;h=1136c9d67c62ce184a83e83b2d918019c84dcf65;hb=00a44ce036714ab57696ef7ca415e69422745706;hp=7a9e7918dfdb2b1a664520220575965b4b9102ed;hpb=f32747a49af98569b58b97461a2f86813f4764bc;p=yaz-moved-to-github.git diff --git a/src/tcpip.c b/src/tcpip.c index 7a9e791..1136c9d 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.8 2004-05-10 10:47:04 adam Exp $ + * $Id: tcpip.c,v 1.10 2004-09-21 14:59:01 adam Exp $ */ #include @@ -776,7 +776,7 @@ int tcpip_get(COMSTACK h, char **buf, int *bufsize) #endif } else if (!res) - return 0; + return hasread; hasread += res; } TRC (fprintf (stderr, " Out of read loop with hasread=%d, berlen=%d\n", @@ -1179,7 +1179,7 @@ int cs_get_peer_certificate_x509(COMSTACK cs, char **buf, int *len) return 0; } -int cs_set_ssl_certf(COMSTACK cs, const char *fname) +int cs_set_ssl_certificate_file(COMSTACK cs, const char *fname) { return 0; }