summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-05 06:13:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-05 06:13:37 +0000
commit22405dad926f9c898e08a4c5bf44dad81f050e70 (patch)
tree2a522a690c0e9b69e073877800665ee8efe7e225 /ext
parent953e8aca2be6a74a4829f8729cd4ba8e501207fe (diff)
downloadruby-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.c2
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);
}
/*