htsp: add client version info in welcome message.

This commit is contained in:
Adam Sutton 2012-12-05 20:46:18 +00:00
parent d8d7a2f583
commit f22683e870

View file

@ -681,8 +681,8 @@ htsp_method_hello(htsp_connection_t *htsp, htsmsg_t *in)
tvh_str_update(&htsp->htsp_clientname, htsmsg_get_str(in, "clientname"));
tvhlog(LOG_INFO, "htsp", "%s: Welcomed client software: %s",
htsp->htsp_logname, name);
tvhlog(LOG_INFO, "htsp", "%s: Welcomed client software: %s (HTSPv%d)",
htsp->htsp_logname, name, v);
htsmsg_add_u32(r, "htspversion", HTSP_PROTO_VERSION);
htsmsg_add_str(r, "servername", "HTS Tvheadend");