libepc r252 - in trunk: . libepc
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: libepc r252 - in trunk: . libepc
- Date: Sun, 2 Nov 2008 19:16:51 +0000 (UTC)
Author: murrayc
Date: Sun Nov 2 19:16:51 2008
New Revision: 252
URL: http://svn.gnome.org/viewvc/libepc?rev=252&view=rev
Log:
2008-11-02 Murray Cumming <murrayc murrayc com>
* libepc/shell.c (epc_shell_create_service_browser):
Return if epc_shell_get_avahi_client() returns a GError, instead of
then setting the already-set GError later.
Modified:
trunk/ChangeLog
trunk/libepc/shell.c
Modified: trunk/libepc/shell.c
==============================================================================
--- trunk/libepc/shell.c (original)
+++ trunk/libepc/shell.c Sun Nov 2 19:16:51 2008
@@ -367,6 +367,9 @@
AvahiClient *client = epc_shell_get_avahi_client (error);
AvahiServiceBrowser *browser = NULL;
+ if (error && *error)
+ return;
+
if (NULL != client)
browser = avahi_service_browser_new (client, interface, protocol, type,
domain, flags, callback, user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]