diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-05 06:13:37 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-05 06:13:37 +0000 |
commit | 22405dad926f9c898e08a4c5bf44dad81f050e70 (patch) | |
tree | 2a522a690c0e9b69e073877800665ee8efe7e225 /ext | |
parent | 953e8aca2be6a74a4829f8729cd4ba8e501207fe (diff) | |
download | ruby-22405dad926f9c898e08a4c5bf44dad81f050e70.tar.gz |
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl_ssl_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ssl_session.c b/ext/openssl/ossl_ssl_session.c index efc49395a0..b21cd1535e 100644 --- a/ext/openssl/ossl_ssl_session.c +++ b/ext/openssl/ossl_ssl_session.c @@ -22,7 +22,7 @@ static VALUE eSSLSession; static VALUE ossl_ssl_session_alloc(VALUE klass) { - Data_Wrap_Struct(klass, 0, SSL_SESSION_free, NULL); + return Data_Wrap_Struct(klass, 0, SSL_SESSION_free, NULL); } /* |