Unverified Commit b9395d54 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #561 from wanglun/fix_comment

Fix comment
parents d66346f8 e958ebbd
......@@ -31,7 +31,7 @@ int ZeroCopyStreamAsStreamBuf::overflow(int ch) {
int size = 0;
if (_zero_copy_stream->Next(&block, &size)) {
setp((char*)block, (char*)block + size);
// if size == 1, this function will call overflow again.
// if size == 0, this function will call overflow again.
return sputc(ch);
} else {
setp(NULL, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment