summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-03 23:30:16 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-03 23:30:16 +0000
commit3ec707db082cef4f8e1ec2b1e9dd2cd516a6a3e4 (patch)
tree57c442b4f3a742ea557bc3e5205fa24daec00df1
parent46997e9ba5aa0ec716fa13a882862b71d8d4fd68 (diff)
### BACKPORT ###
fix another bug sebest found git-svn-id: file:///home/lennart/svn/public/avahi/branches/working-0.5.x@688 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-core/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/server.c b/avahi-core/server.c
index 019a41a..ac701b4 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -2480,7 +2480,7 @@ uint32_t avahi_server_get_local_service_cookie(AvahiServer *s) {
int avahi_server_is_service_local(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char*domain) {
AvahiKey *key = NULL;
- char *d, *t;
+ char *d = NULL, *t = NULL;
char ename[64], n[256];
int ret;
AvahiEntry *e;