mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
fix a Werror error
This commit is contained in:
parent
370d99244d
commit
5755befda6
@ -172,9 +172,10 @@ respond_to_number(struct bufferevent *bev, void *ctx)
|
||||
struct evbuffer *b = bufferevent_get_input(bev);
|
||||
char *line;
|
||||
int n;
|
||||
|
||||
#ifdef SSL_renegotiate
|
||||
enum regress_openssl_type type;
|
||||
type = (enum regress_openssl_type)ctx;
|
||||
#endif
|
||||
|
||||
line = evbuffer_readln(b, NULL, EVBUFFER_EOL_LF);
|
||||
if (! line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user