diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 09:30:06 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 09:30:06 +0000 |
commit | 39d35c11307e31434cc71f0412b6ec34c7e3ee69 (patch) | |
tree | 71c7490896c0d9eacd0b9a2dc4d06c155e18566f | |
parent | 82849c97dd42961521fce3a084cb53dfdf94c6df (diff) | |
download | ruby-39d35c11307e31434cc71f0412b6ec34c7e3ee69.tar.gz |
* ext/openssl/ossl_ssl.c (ssl_get_error): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/openssl/ossl_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index d527f5ddc5..ca3fb19085 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -434,7 +434,7 @@ ossl_ssl_setup(VALUE self) } #ifdef _WIN32 -#define ssl_get_error(ssl, ret) (errno = GetLastError(), SSL_get_error(ssl, ret)) +#define ssl_get_error(ssl, ret) (errno = WSAGetLastError(), SSL_get_error(ssl, ret)) #else #define ssl_get_error(ssl, ret) SSL_get_error(ssl, ret) #endif |