]> git.sesse.net Git - cubemap/blobdiff - stats.cpp
Set umask explicitly before calling mkstemp().
[cubemap] / stats.cpp
index 9e3f72c2d065613c2a783336c9980c05785eea22..69bbd732b634a4d0daebfed771401335317bf0f2 100644 (file)
--- a/stats.cpp
+++ b/stats.cpp
@@ -57,7 +57,7 @@ void StatsThread::do_work()
                        fprintf(fp, "%s %d %d %s %d %llu %llu %llu\n",
                                client_stats[i].remote_addr.c_str(),
                                client_stats[i].sock,
-                               client_stats[i].fwmark,
+                               0,  // Used to be fwmark.
                                client_stats[i].url.c_str(),
                                int(now - client_stats[i].connect_time),
                                (long long unsigned)(client_stats[i].bytes_sent),