diff options
Diffstat (limited to 'src/hostcache.cc')
| -rw-r--r-- | src/hostcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostcache.cc b/src/hostcache.cc index f32b0f7..23be08f 100644 --- a/src/hostcache.cc +++ b/src/hostcache.cc @@ -62,7 +62,7 @@ bool ResolveHostName(const char *HostName, int *OutAddr){ THostCacheEntry *Entry = NULL; int LeastRecentlyUsedIndex = 0; int LeastRecentlyUsedTime = g_CachedHostNames[0].ResolveTime; - int TimeNow = GetMonotonicUptimeMS(); + int TimeNow = GetMonotonicUptime(); for(int i = 0; i < g_Config.MaxCachedHostNames; i += 1){ THostCacheEntry *Current = &g_CachedHostNames[i]; |
