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

Unified Diff: chrome/browser/sync/engine/syncapi.cc

Issue 552162: Add an implementation for async_network_alive to Linux (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « no previous file | chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncapi.cc
===================================================================
--- chrome/browser/sync/engine/syncapi.cc (revision 37123)
+++ chrome/browser/sync/engine/syncapi.cc (working copy)
@@ -250,7 +250,7 @@
break;
}
- // If result is 0, select timed out.
+ // If fd is set, the network address might have changed.
if (FD_ISSET(fd, &rdfs)) {
char buf[4096];
struct iovec iov = { buf, sizeof(buf) };
« no previous file with comments | « no previous file | chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698