NetworkManager r3753 - trunk/callouts
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3753 - trunk/callouts
- Date: Fri, 13 Jun 2008 21:46:04 +0000 (UTC)
Author: dcbw
Date: Fri Jun 13 21:46:04 2008
New Revision: 3753
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3753&view=rev
Log:
Fix wrong check for missing connection
Modified:
trunk/callouts/nm-dispatcher-action.c
Modified: trunk/callouts/nm-dispatcher-action.c
==============================================================================
--- trunk/callouts/nm-dispatcher-action.c (original)
+++ trunk/callouts/nm-dispatcher-action.c Fri Jun 13 21:46:04 2008
@@ -312,7 +312,7 @@
d->quit_timeout = g_timeout_add (10000, quit_timeout_cb, NULL);
connection = nm_connection_new_from_hash (connection_hash, error);
- if (connection) {
+ if (!connection) {
g_warning ("%s: Invalid connection: '%s' / '%s' invalid: %d",
__func__,
g_type_name (nm_connection_lookup_setting_type_by_quark ((*error)->domain)),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]