diff options
Diffstat (limited to 'util/sock.h')
-rw-r--r-- | util/sock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/sock.h b/util/sock.h index 9450070593d..d72d70690ae 100644 --- a/util/sock.h +++ b/util/sock.h @@ -96,7 +96,8 @@ namespace mongo { } } -// .empty() if err + // If an ip address is passed in, just return that. If a hostname is passed + // in, look up its ip and return that. Returns "" on failure. string hostbyname(const char *hostname); struct SockAddr { |