NetworkManager r3753 - trunk/callouts



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]