[polypaudio-commits] r997 - /trunk/src/modules/module-zeroconf-publish.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed May 31 12:17:34 PDT 2006


Author: lennart
Date: Wed May 31 21:17:32 2006
New Revision: 997

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=997&root=polypaudio&view=rev
Log:
remove superfluous prefixes from service names

Modified:
    trunk/src/modules/module-zeroconf-publish.c

Modified: trunk/src/modules/module-zeroconf-publish.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-zeroconf-publish.c?rev=997&root=polypaudio&r1=996&r2=997&view=diff
==============================================================================
--- trunk/src/modules/module-zeroconf-publish.c (original)
+++ trunk/src/modules/module-zeroconf-publish.c Wed May 31 21:17:32 2006
@@ -140,7 +140,7 @@
         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 @@
             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");




More information about the pulseaudio-commits mailing list