From cdf5d5402b873104c606d68d8613f77bff0bd52f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 19 Feb 2014 23:11:26 +0900 Subject: [PATCH] nghttpx: Code cleanup --- src/shrpx_http2_session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_http2_session.cc b/src/shrpx_http2_session.cc index 48046251..7aaa4bc8 100644 --- a/src/shrpx_http2_session.cc +++ b/src/shrpx_http2_session.cc @@ -1284,7 +1284,7 @@ int Http2Session::send() if(nghttp2_session_want_read(session_) == 0 && nghttp2_session_want_write(session_) == 0 && - evbuffer_get_length(bufferevent_get_output(bev_)) == 0) { + evbuffer_get_length(output) == 0) { if(LOG_ENABLED(INFO)) { SSLOG(INFO, this) << "No more read/write for this session"; }