aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-01 17:44:03 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-01 17:44:03 +0000
commit88638f4821842f76062397559614f36b717ffdbb (patch)
treeb4c1b1b16709d000a6e51b1433afd1970e2e7f7e /src/zeroconf.c
parent485d1f68ddadee5f171ade372700c0e3ee395841 (diff)
downloadmpd-88638f4821842f76062397559614f36b717ffdbb.tar.gz
mpd-88638f4821842f76062397559614f36b717ffdbb.tar.xz
mpd-88638f4821842f76062397559614f36b717ffdbb.zip
Removing the getBoundPort() function and just making boundPort an extern.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/zeroconf.c')
-rw-r--r--src/zeroconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeroconf.c b/src/zeroconf.c
index eeec794cd..6c2c8e717 100644
--- a/src/zeroconf.c
+++ b/src/zeroconf.c
@@ -255,7 +255,7 @@ static void avahiRegisterService(AvahiClient *c)
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0,
avahiName, SERVICE_TYPE,
NULL, NULL,
- getBoundPort(),
+ boundPort,
NULL);
if( ret < 0 ) {
ERROR( "Avahi: Failed to add service %s: %s\n", SERVICE_TYPE, avahi_strerror(ret) );