1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix some warnings

This commit is contained in:
Evan Phoenix 2012-08-22 22:38:41 -07:00
parent f38678f2d7
commit d7ff3888c0

View file

@ -1,4 +1,5 @@
#include <ruby.h>
#include <rubyio.h>
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
@ -120,6 +121,8 @@ VALUE engine_read(VALUE self) {
}
raise_error(conn->ssl, bytes);
return Qnil;
}
VALUE engine_write(VALUE self, VALUE str) {
@ -139,6 +142,8 @@ VALUE engine_write(VALUE self, VALUE str) {
if(SSL_want_write(conn->ssl)) return Qnil;
raise_error(conn->ssl, bytes);
return Qnil;
}
VALUE engine_extract(VALUE self) {