Stupid bug when using unions

This commit is contained in:
Stephane Bortzmeyer 2001-01-22 15:39:03 +00:00
parent 4512283a2b
commit 9594606bc4

View File

@ -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;