Make streq() and strcaseeq() static inline functions so they can be used as callbacks

This commit is contained in:
Tobias Brunner
2012-09-21 18:16:26 +02:00
parent dad6d904ee
commit a2a28d90ac
2 changed files with 32 additions and 26 deletions
+1 -1
View File
@@ -624,7 +624,7 @@ static gboolean need_secrets(NMVPNPlugin *plugin, NMConnection *connection,
}
}
}
else if streq(method, "smartcard")
else if (streq(method, "smartcard"))
{
if (nm_setting_vpn_get_secret(settings, "password"))
{