summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-12-16 20:08:50 +0000
committerLennart Poettering <lennart@poettering.net>2004-12-16 20:08:50 +0000
commit47ab6bd2fc21c22d98605a18e49a94857eb1e4b3 (patch)
tree4e1ae63873618d2f2ca39b4e7f1ff1e765049d67
parentb1369d29079bee2c8d96ad698da9ec43f569c0e5 (diff)
gcc 2.95 compat
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@327 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--polyp/module-zeroconf-publish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-zeroconf-publish.c b/polyp/module-zeroconf-publish.c
index 56696aea..a7e2073e 100644
--- a/polyp/module-zeroconf-publish.c
+++ b/polyp/module-zeroconf-publish.c
@@ -121,12 +121,12 @@ static void txt_record_server_data(struct pa_core *c, sw_text_record t) {
}
static int publish_service(struct userdata *u, struct service *s) {
- assert(u && s);
char t[256];
char hn[256];
int r = -1;
sw_text_record txt;
int free_txt = 0;
+ assert(u && s);
if ((s->published == 1 && s->loaded.valid) ||
(s->published == 2 && s->autoload.valid && !s->loaded.valid))