2004-12-20 Colin Walters <walters@redhat.com>

* src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
	instead of '='.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@351 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Colin Walters
2004-12-20 21:53:52 +00:00
committed by Colin Walters
parent 7083b00630
commit 53c27dec5f
2 changed files with 6 additions and 1 deletions

View File

@@ -219,7 +219,7 @@ static NMDevice * nm_policy_get_best_device (NMData *data, gboolean *should_lock
if (best_dev && (nm_device_get_driver_support_level (best_dev) == NM_DRIVER_UNSUPPORTED))
{
syslog (LOG_ERR, "nm_policy_get_best_device(): tried to switch to unsupported device '%s'!\n", nm_device_get_iface (best_dev));
best_dev == NULL;
best_dev = NULL;
}
return (best_dev);