summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2010-06-23 10:53:44 +0200
committerJiří Klimeš <jklimes@redhat.com>2010-06-23 10:53:44 +0200
commitb880cbe829270627cc6f20933c195d675feba283 (patch)
tree6f84e71cabcfaed58779f944110eb03384056bff /test
parent3ec6ffe85fae4f8c184e567c9de1a37db903aee0 (diff)
trivial: fix a typo in nm-tool
Diffstat (limited to 'test')
-rw-r--r--test/nm-tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nm-tool.c b/test/nm-tool.c
index 9d1a245718..9a1a0ba61b 100644
--- a/test/nm-tool.c
+++ b/test/nm-tool.c
@@ -16,7 +16,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * (C) Copyright 2005 - 2009 Red Hat, Inc.
+ * (C) Copyright 2005 - 2010 Red Hat, Inc.
* (C) Copyright 2007 Novell, Inc.
*/
@@ -481,7 +481,7 @@ detail_vpn (gpointer data, gpointer user_data)
g_return_if_fail (connection != NULL);
s_con = (NMSettingConnection *) nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION);
- g_return_if_fail (connection != NULL);
+ g_return_if_fail (s_con != NULL);
print_header ("VPN", NULL, nm_setting_connection_get_id (s_con));