subcription: fix the warning

This commit is contained in:
Jaroslav Kysela 2014-07-02 17:41:03 +02:00
parent e0028b308a
commit bb181b06c3

View file

@ -405,7 +405,7 @@ subscription_unsubscribe(th_subscription_t *s)
s->ths_username ?: "<N/A>",
s->ths_client ?: "<N/A>");
}
tvhlog(LOG_INFO, "subscription", buf);
tvhlog(LOG_INFO, "subscription", "%s", buf);
if(t)
service_remove_subscriber(t, s, SM_CODE_OK);