Parent Directory | Revision Log | Patch
revision 1.26 by lefcha, Sat Feb 22 16:06:41 2003 UTC | revision 1.27 by lefcha, Thu Mar 6 14:56:39 2003 UTC | |
---|---|---|
# | Line 219 socket_read(int *sock, char *buf) | Line 219 socket_read(int *sock, char *buf) |
219 | fd_set fds; | fd_set fds; |
220 | struct timeval tv; | struct timeval tv; |
221 | struct timeval *tvp; | struct timeval *tvp; |
222 | #ifdef SSL_TLS | #ifdef SSL_TLS |
223 | SSL **ssl; | SSL **ssl; |
224 | ||
# | Line 308 socket_write(int *sock, char *data) | Line 307 socket_write(int *sock, char *data) |
307 | fd_set fds; | fd_set fds; |
308 | struct timeval tv; | struct timeval tv; |
309 | struct timeval *tvp = NULL; | struct timeval *tvp = NULL; |
310 | #ifdef SSL_TLS | #ifdef SSL_TLS |
311 | SSL **ssl = (sock == &sockpri ? &sslpri : &sslaux); | SSL **ssl; |
312 | #endif | #endif |
313 | ||
314 | e = 0; | e = 0; |
315 | s = 1; | s = 1; |
316 | #ifdef SSL_TLS | |
317 | ssl = (sock == &sockpri ? &sslpri : &sslaux); | |
318 | #endif | |
319 | ||
320 | if (timeout >= 0) { | if (timeout >= 0) { |
321 | tv.tv_sec = timeout; | tv.tv_sec = timeout; |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |