An else should appear on the same line as the preceding }, according to Google style guidelines "whitespace/newline"

This commit is contained in:
Stefan Persson 2012-12-05 12:30:41 +01:00
parent 58d58a8640
commit 68a041edb4

View file

@ -133,8 +133,7 @@ std::wstring Socket::read(int timeout) {
if(err == ERROR_MORE_DATA) { if(err == ERROR_MORE_DATA) {
moreData = true; moreData = true;
} } else {
else {
buf[0] = 0; buf[0] = 0;
} }
if (err == ERROR_BROKEN_PIPE) { if (err == ERROR_BROKEN_PIPE) {