diff options
Diffstat (limited to 'src/io/http.cpp')
| -rw-r--r-- | src/io/http.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/http.cpp b/src/io/http.cpp index 883f6f56c..c081ca7bc 100644 --- a/src/io/http.cpp +++ b/src/io/http.cpp @@ -110,7 +110,7 @@ Glib::ustring get_file(Glib::ustring uri, unsigned int timeout, callback func) { GStatBuf st; if(g_stat(filename.c_str(), &st) != -1) { time_t changed = st.st_mtime; - time_t now = time(0); + time_t now = time(nullptr); // The cache hasn't timed out, so return the filename. if(now - changed < timeout) { if(func) { |
