Refer to streams internally mostly by an index, not the stream_id.
[cubemap] / stats.cpp
index 280f019..6dffa58 100644 (file)
--- a/stats.cpp
+++ b/stats.cpp
@@ -60,7 +60,7 @@ void StatsThread::do_work()
                                client_stats[i].remote_addr.c_str(),
                                client_stats[i].sock,
                                client_stats[i].fwmark,
-                               client_stats[i].stream_id.c_str(),
+                               client_stats[i].url.c_str(),
                                int(now - client_stats[i].connect_time),
                                (long long unsigned)(client_stats[i].bytes_sent),
                                (long long unsigned)(client_stats[i].bytes_lost),