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:
parent
f38678f2d7
commit
d7ff3888c0
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue