From: Source Maintenance Date: Tue, 28 Feb 2017 18:12:05 +0000 (+0000) Subject: SourceFormat Enforcement X-Git-Tag: M-staged-PR71~237 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d64ed7f5c15857178b8bc43f643a19a9d3435fac;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/tools/squidclient/squidclient.cc b/tools/squidclient/squidclient.cc index cfc2656899..7b821d848d 100644 --- a/tools/squidclient/squidclient.cc +++ b/tools/squidclient/squidclient.cc @@ -575,13 +575,13 @@ main(int argc, char *argv[]) } else while ((x = read(put_fd, buf, sizeof(buf))) > 0) { - x = Transport::Write(buf, x); + x = Transport::Write(buf, x); - total_bytes += x; + total_bytes += x; - if (x <= 0) - break; - } + if (x <= 0) + break; + } if (x != 0) std::cerr << "ERROR: Cannot send file." << std::endl;