diff options
author | markus <> | 2002-09-05 22:45:21 +0000 |
---|---|---|
committer | markus <> | 2002-09-05 22:45:21 +0000 |
commit | 2a6851ef8adb0e84ff2515493d3704a13c6256b0 (patch) | |
tree | 9df5b497548eaf51e9f234d27aaf988cd14882c2 /src/lib/libssl/src/crypto/bio/b_sock.c | |
parent | 5514995a9d5ed91db089875adb509c7781357c0e (diff) | |
download | openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.gz openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.bz2 openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.zip |
import openssl-0.9.7-beta3
Diffstat (limited to 'src/lib/libssl/src/crypto/bio/b_sock.c')
-rw-r--r-- | src/lib/libssl/src/crypto/bio/b_sock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libssl/src/crypto/bio/b_sock.c b/src/lib/libssl/src/crypto/bio/b_sock.c index dcaef68ea7..45bd7c47e8 100644 --- a/src/lib/libssl/src/crypto/bio/b_sock.c +++ b/src/lib/libssl/src/crypto/bio/b_sock.c | |||
@@ -484,7 +484,11 @@ int BIO_socket_ioctl(int fd, long type, unsigned long *arg) | |||
484 | { | 484 | { |
485 | int i; | 485 | int i; |
486 | 486 | ||
487 | #ifdef __DJGPP__ | ||
488 | i=ioctlsocket(fd,type,(char *)arg); | ||
489 | #else | ||
487 | i=ioctlsocket(fd,type,arg); | 490 | i=ioctlsocket(fd,type,arg); |
491 | #endif /* __DJGPP__ */ | ||
488 | if (i < 0) | 492 | if (i < 0) |
489 | SYSerr(SYS_F_IOCTLSOCKET,get_last_socket_error()); | 493 | SYSerr(SYS_F_IOCTLSOCKET,get_last_socket_error()); |
490 | return(i); | 494 | return(i); |