diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-01-21 17:59:37 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-01-21 17:59:37 +0000 |
commit | 575e664a7c7a161874077a7a6a205b595af5921d (patch) | |
tree | 38034dd7cff1e08cf001eb0b83bbfdb4dc3e15d9 /crypto/bio/bio.h | |
parent | 7389c848d45b87cc856cc23523db8b430dd0baf9 (diff) | |
download | openssl-575e664a7c7a161874077a7a6a205b595af5921d.tar.gz |
Fix incorrect BIO_*_ctrl() macros (Shay Harding <sharding@ccbill.com>).
Diffstat (limited to 'crypto/bio/bio.h')
-rw-r--r-- | crypto/bio/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index c687e8c28c..4fa420a6b0 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -359,8 +359,8 @@ typedef struct bio_f_buffer_ctx_struct #define BIO_set_conn_int_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,3,(char *)port) #define BIO_get_conn_hostname(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,0) #define BIO_get_conn_port(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,1) -#define BIO_get_conn_ip(b,ip) BIO_ptr_ctrl(b,BIO_C_SET_CONNECT,2) -#define BIO_get_conn_int_port(b,port) BIO_int_ctrl(b,BIO_C_SET_CONNECT,3,port) +#define BIO_get_conn_ip(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2) +#define BIO_get_conn_int_port(b) BIO_int_ctrl(b,BIO_C_GET_CONNECT,3) #define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL) |