summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2006-12-11 22:35:04 +0000
committerTrent Lloyd <lathiat@bur.st>2006-12-11 22:35:04 +0000
commitfb09d84111eaa48462cf49879547f815dd0f08f6 (patch)
tree7d08286a7b8c4b181126d5bf643b800972059a48 /examples
parent37b2be93e63ceff95698f24cd91cb11774eb621c (diff)
* Fix specifying priviliged access group (Closes: #85)
Thanks to delphinidae * Fix incorrect manual reference (Closes: #83) Thanks to delphinidae * Fix incorrect assert() in client-publish-service.c (Closes: #79) Thanks to tedp * Fix builds on < 2.6.19 (temporary fix, pending possible "better" solution) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1337 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'examples')
-rw-r--r--examples/client-publish-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/client-publish-service.c b/examples/client-publish-service.c
index 66a59de..94dcd1e 100644
--- a/examples/client-publish-service.c
+++ b/examples/client-publish-service.c
@@ -44,7 +44,7 @@ static char *name = NULL;
static void create_services(AvahiClient *c);
static void entry_group_callback(AvahiEntryGroup *g, AvahiEntryGroupState state, AVAHI_GCC_UNUSED void *userdata) {
- assert(g == group);
+ assert(g == group || group == NULL);
/* Called whenever the entry group state changes */