remove superfluous prefixes from service names

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@997 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-05-31 19:17:32 +00:00
parent ac7213d733
commit 8ca956892e

View file

@ -140,7 +140,7 @@ static int publish_service(struct userdata *u, struct service *s) {
s->published = 0;
}
snprintf(t, sizeof(t), "Networked Audio Device %s on %s", s->name, pa_get_host_name(hn, sizeof(hn)));
snprintf(t, sizeof(t), "%s on %s", s->name, pa_get_host_name(hn, sizeof(hn)));
if (sw_text_record_init(&txt) != SW_OKAY) {
pa_log(__FILE__": sw_text_record_init() failed");
@ -432,7 +432,7 @@ int pa__init(pa_core *c, pa_module*m) {
if (publish_autoload(u, autoload) < 0)
goto fail;
snprintf(t, sizeof(t), "Networked Audio Server on %s", pa_get_host_name(hn, sizeof(hn)));
snprintf(t, sizeof(t), "%s", pa_get_host_name(hn, sizeof(hn)));
if (sw_text_record_init(&txt) != SW_OKAY) {
pa_log(__FILE__": sw_text_record_init() failed");