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

Unified Diff: runtime/bin/socket_linux.cc

Issue 163903002: Prototype of I/O statistics for Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 6 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
Index: runtime/bin/socket_linux.cc
diff --git a/runtime/bin/socket_linux.cc b/runtime/bin/socket_linux.cc
index db7704b211e3a2d47e29d38c32678992bfbef3b3..0322446ef5c46021934561778556aac23d65deb6 100644
--- a/runtime/bin/socket_linux.cc
+++ b/runtime/bin/socket_linux.cc
@@ -193,10 +193,6 @@ SocketAddress* Socket::GetRemotePeer(intptr_t fd, intptr_t* port) {
getpeername(fd,
&raw.addr,
&size))) {
- const int kBufferSize = 1024;
- char error_buf[kBufferSize];
- Log::PrintErr("Error getpeername: %s\n",
- strerror_r(errno, error_buf, kBufferSize));
return NULL;
}
*port = SocketAddress::GetAddrPort(&raw);

Powered by Google App Engine
This is Rietveld 408576698