From 27b7869bb16105c1adbbc03707038ff9e4789656 Mon Sep 17 00:00:00 2001 From: Minwoo Jung Date: Fri, 21 Aug 2015 09:08:52 -0700 Subject: [PATCH 1/2] Update tls_wrap.cc fix grammatically wrong expression --- src/tls_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index e4b0dc49c691d7..3d18f90efaefa0 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -561,7 +561,7 @@ int TLSWrap::DoWrite(WriteWrap* w, } if (empty) { ClearOut(); - // However if there any data that should be written to socket, + // However if there is any data that should be written to socket, // callback should not be invoked immediately if (BIO_pending(enc_out_) == 0) return stream_->DoWrite(w, bufs, count, send_handle); From bd70d4c7a0fc16dbdc2ee0f53e783f61f4cfb397 Mon Sep 17 00:00:00 2001 From: Minwoo Jung Date: Fri, 21 Aug 2015 14:32:49 -0700 Subject: [PATCH 2/2] Update tls_wrap.cc fix grammatically wrong expression --- src/tls_wrap.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index 3d18f90efaefa0..2fd44212247dd3 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -561,8 +561,8 @@ int TLSWrap::DoWrite(WriteWrap* w, } if (empty) { ClearOut(); - // However if there is any data that should be written to socket, - // callback should not be invoked immediately + // However if there is any data that should be written to the socket, + // the callback should not be invoked immediately if (BIO_pending(enc_out_) == 0) return stream_->DoWrite(w, bufs, count, send_handle); }