diff options
| author | Sjoerd Simons <sjoerd@luon.net> | 2014-04-26 20:55:17 +0200 |
|---|---|---|
| committer | Sjoerd Simons <sjoerd@luon.net> | 2014-04-26 20:55:17 +0200 |
| commit | 0dccbc804e92f56afd9e7d598dce4bcd8716bbcc (patch) | |
| tree | 1054a65c0cde38dc89e5c692a3a7458160823afa /libnm-util/nm-connection.c | |
| parent | 7df62b86e35a67049a4bc7810c29994d8a7ef175 (diff) | |
| parent | 59c3714a494c3b3765657c0551ad82842d98a7d2 (diff) | |
Merge tag 'upstream/0.9.8.10'
Upstream version 0.9.8.10
Diffstat (limited to 'libnm-util/nm-connection.c')
| -rw-r--r-- | libnm-util/nm-connection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnm-util/nm-connection.c b/libnm-util/nm-connection.c index 15b1685f..390b2a3b 100644 --- a/libnm-util/nm-connection.c +++ b/libnm-util/nm-connection.c @@ -1006,9 +1006,8 @@ nm_connection_is_type (NMConnection *connection, const char *type) g_assert (s_con); type2 = nm_setting_connection_get_connection_type (s_con); - g_assert (type2); - return !strcmp (type2, type); + return (g_strcmp0 (type2, type) == 0); } /** |