From 5d47f471042c6c31d74cc1701f44e09fa189ae4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 7 Jun 2009 09:25:17 +0000 Subject: [PATCH] Use htsp_logname (includes sourceaddress, username, client software) instead of just "htsp" when subscribing. --- src/htsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/htsp.c b/src/htsp.c index 826b4f14..f0969460 100644 --- a/src/htsp.c +++ b/src/htsp.c @@ -479,8 +479,8 @@ htsp_method_subscribe(htsp_connection_t *htsp, htsmsg_t *in) LIST_INSERT_HEAD(&htsp->htsp_subscriptions, hs, hs_link); streaming_target_init(&hs->hs_input, htsp_streaming_input, hs); - hs->hs_s = subscription_create_from_channel(ch, 500, "htsp", &hs->hs_input); - + hs->hs_s = subscription_create_from_channel(ch, 500, htsp->htsp_logname, + &hs->hs_input); return NULL; }