summaryrefslogtreecommitdiffstats
path: root/avahi-client/entrygroup.c
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-08-14 12:12:03 +0000
committerTrent Lloyd <lathiat@bur.st>2005-08-14 12:12:03 +0000
commit7dfbaa097e99373e6eec03f07c43c046b94481f8 (patch)
treee79a4589a2f8706c3d27ce9b87d603bbbea6d6ec /avahi-client/entrygroup.c
parent3d2e63d2c5c351dde38b24a45a679ce819ed0e41 (diff)
* Remove most of the debug printf()s from avahi-client code and make sure errors are set when appropriate.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@321 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/entrygroup.c')
-rw-r--r--avahi-client/entrygroup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c
index 8120e49..26ae75a 100644
--- a/avahi-client/entrygroup.c
+++ b/avahi-client/entrygroup.c
@@ -68,7 +68,6 @@ avahi_entry_group_new (AvahiClient *client, AvahiEntryGroupCallback callback, vo
if (dbus_error_is_set (&error))
{
- fprintf (stderr, "Error sending EntryGroupNew message: %s\n", error.message);
dbus_error_free (&error);
avahi_client_set_errno (client, AVAHI_ERR_DBUS_ERROR);
@@ -77,7 +76,6 @@ avahi_entry_group_new (AvahiClient *client, AvahiEntryGroupCallback callback, vo
if (reply == NULL)
{
- fprintf (stderr, "Got NULL reply from EntryGroupNew\n");
avahi_client_set_errno (client, AVAHI_ERR_DBUS_ERROR);
goto fail;
@@ -87,7 +85,6 @@ avahi_entry_group_new (AvahiClient *client, AvahiEntryGroupCallback callback, vo
if (dbus_error_is_set (&error))
{
- fprintf (stderr, "Failure parsing EntryGroupNew reply: %s\n", error.message);
avahi_client_set_errno (client, AVAHI_ERR_DBUS_ERROR);
goto fail;
}
@@ -180,7 +177,6 @@ avahi_entry_group_get_state (AvahiEntryGroup *group)
if (dbus_error_is_set (&error))
{
- fprintf (stderr, "Error sending GetState message for %s EntryGroup: %s\n", group->path, error.message);
dbus_error_free (&error);
return avahi_client_set_errno (group->client, AVAHI_ERR_DBUS_ERROR);
@@ -190,7 +186,6 @@ avahi_entry_group_get_state (AvahiEntryGroup *group)
if (dbus_error_is_set (&error))
{
- fprintf (stderr, "Error parsing GetState reply for %s EntryGroup: %s\n", group->path, error.message);
dbus_error_free (&error);
return avahi_client_set_errno (group->client, AVAHI_ERR_DBUS_ERROR);