]> git.sesse.net Git - cubemap/blobdiff - stats.cpp
Refer to streams internally mostly by an index, not the stream_id.
[cubemap] / stats.cpp
index 280f019edd9b2811d551cf018e62334cf00413bc..6dffa5822290b72857c516b325ef0dd105de988f 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),