Update ntp.h
authorsvost <svost@users.noreply.github.com>
Sun, 4 Oct 2015 18:45:26 +0000 (21:45 +0300)
committersvost <svost@users.noreply.github.com>
Sun, 4 Oct 2015 18:45:26 +0000 (21:45 +0300)
src/ntp.h

index 6ec9191..8cf3be6 100644 (file)
--- a/src/ntp.h
+++ b/src/ntp.h
@@ -2,7 +2,7 @@
 int64_t NtpGetTime(CNetAddr& ip);
 
 // Get time from provided server.
-int64_t NtpGetTime(std::string &strHostName);
+int64_t NtpGetTime(const std::string &strHostName);
 
 extern std::string strTrustedUpstream;