| Index: net/tools/quic/quic_client_bin.cc
|
| diff --git a/net/tools/quic/quic_client_bin.cc b/net/tools/quic/quic_client_bin.cc
|
| index 204f3f501963d8bcdc3feea2b66eacd2c151b67d..f3c81eb1db3beaaf7ea80161c95002ee926148f2 100644
|
| --- a/net/tools/quic/quic_client_bin.cc
|
| +++ b/net/tools/quic/quic_client_bin.cc
|
| @@ -34,7 +34,7 @@ int32 FLAGS_initial_flow_control_window = 100 * net::kMaxPacketSize;
|
| // Check the certificates using proof verifier.
|
| bool FLAGS_secure = false;
|
|
|
| -int main(int argc, char *argv[]) {
|
| +int main(int argc, char* argv[]) {
|
| CommandLine::Init(argc, argv);
|
| CommandLine* line = CommandLine::ForCurrentProcess();
|
|
|
| @@ -70,10 +70,8 @@ int main(int argc, char *argv[]) {
|
| if (line->HasSwitch("secure")) {
|
| FLAGS_secure = true;
|
| }
|
| - VLOG(1) << "server port: " << FLAGS_port
|
| - << " address: " << FLAGS_address
|
| - << " hostname: " << FLAGS_hostname
|
| - << " secure: " << FLAGS_secure;
|
| + VLOG(1) << "server port: " << FLAGS_port << " address: " << FLAGS_address
|
| + << " hostname: " << FLAGS_hostname << " secure: " << FLAGS_secure;
|
|
|
| base::AtExitManager exit_manager;
|
|
|
| @@ -82,13 +80,16 @@ int main(int argc, char *argv[]) {
|
| // TODO(rjshade): Set version on command line.
|
| net::tools::QuicClient client(
|
| net::IPEndPoint(addr, FLAGS_port),
|
| - net::QuicServerId(FLAGS_hostname, FLAGS_port, FLAGS_secure,
|
| - net::PRIVACY_MODE_DISABLED),
|
| - net::QuicSupportedVersions(), true, FLAGS_initial_flow_control_window);
|
| + net::QuicServerId(
|
| + FLAGS_hostname, FLAGS_port, FLAGS_secure, net::PRIVACY_MODE_DISABLED),
|
| + net::QuicSupportedVersions(),
|
| + true,
|
| + FLAGS_initial_flow_control_window);
|
|
|
| client.Initialize();
|
|
|
| - if (!client.Connect()) return 1;
|
| + if (!client.Connect())
|
| + return 1;
|
|
|
| client.SendRequestsAndWaitForResponse(line->GetArgs());
|
| return 0;
|
|
|