From 9594606bc47d41e283013d252a7e070b961c3089 Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Mon, 22 Jan 2001 15:39:03 +0000 Subject: [PATCH] Stupid bug when using unions --- SRC/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SRC/http.c b/SRC/http.c index 8820b02..541e7cf 100644 --- a/SRC/http.c +++ b/SRC/http.c @@ -129,10 +129,10 @@ read_from_server (CHANNEL fs, short ssl) } /* Read the body */ if (!ssl) - nr = readline (fs, big_recvline, MAXTOREAD, FALSE); + nr = readline (fs.fs, big_recvline, MAXTOREAD, FALSE); #ifdef OPENSSL else - nr = SSL_readline (fs, big_recvline, MAXTOREAD, FALSE); + nr = SSL_readline (fs.ssl, big_recvline, MAXTOREAD, FALSE); #endif if ((nr < 2) && (errno == EINTR)) /* Probably a timeout */ return -1;