Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: src/platform-linux.cc

Issue 27089: Fixed lint errors.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform-freebsd.cc ('k') | src/platform-macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-linux.cc
===================================================================
--- src/platform-linux.cc (revision 1350)
+++ src/platform-linux.cc (working copy)
@@ -631,9 +631,9 @@
}
// Server initialization.
- bool Bind (const int port);
+ bool Bind(const int port);
bool Listen(int backlog) const;
- Socket* Accept () const;
+ Socket* Accept() const;
// Client initialization.
bool Connect(const char* host, const char* port);
@@ -662,7 +662,7 @@
addr.sin_port = htons(port);
int status = bind(socket_,
reinterpret_cast<struct sockaddr *>(&addr),
- sizeof (addr));
+ sizeof(addr));
return status == 0;
}
@@ -707,7 +707,7 @@
if (status != 0) {
return false;
}
-
+
// Connect.
status = connect(socket_, result->ai_addr, result->ai_addrlen);
return status == 0;
« no previous file with comments | « src/platform-freebsd.cc ('k') | src/platform-macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698