Use htsp_logname (includes sourceaddress, username, client software) instead of just "htsp" when subscribing.

This commit is contained in:
Andreas Öman 2009-06-07 09:25:17 +00:00
parent 4fda091b22
commit 5d47f47104

View file

@ -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;
}