From 97229d954846e48a1366c338bc940cdf687246e9 Mon Sep 17 00:00:00 2001 From: oddsock Date: Fri, 31 Oct 2003 19:24:00 +0000 Subject: [PATCH] fixed some display bugs when showing stats svn path=/trunk/icecast/; revision=5527 --- win32/Icecast2winDlg.cpp | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/win32/Icecast2winDlg.cpp b/win32/Icecast2winDlg.cpp index 8b66c969..50b55a80 100644 --- a/win32/Icecast2winDlg.cpp +++ b/win32/Icecast2winDlg.cpp @@ -484,25 +484,35 @@ void CollectStats(stats_event_t *event) strcpy(tempSource, event->source); } + if (strlen(tempSource) == 0) { + strcpy(tempSource, "Global Stat"); + } int foundit = 0; for (int i=0;i