diff options
author | Dan Williams <dcbw@redhat.com> | 2010-06-22 01:58:54 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-06-22 01:58:54 -0700 |
commit | adfe264b67ba28effd3fb8378cbcbe2081f6ed49 (patch) | |
tree | d8db2ca57c17af147d55404736b7a21f1307b0fb /src/mm-manager.c | |
parent | a60216f5f44d4ead2fd36a129dee789d2941b02e (diff) |
core: ensure claimed ports don't fall back to Generic (rh #597296)
Found by jklimes. If some plugin already supports this port, it's
pointless to let Generic figure out if it supports the port since
we're just going to hand it to the other plugin anyway.
Diffstat (limited to 'src/mm-manager.c')
-rw-r--r-- | src/mm-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-manager.c b/src/mm-manager.c index 32b0d2a8..9b4c6d6e 100644 --- a/src/mm-manager.c +++ b/src/mm-manager.c @@ -626,7 +626,7 @@ supports_callback (MMPlugin *plugin, if (next_plugin) { const char *next_name = mm_plugin_get_name (next_plugin); - if (info->best_plugin && strcmp (next_name, MM_PLUGIN_GENERIC_NAME)) + if (info->best_plugin && !strcmp (next_name, MM_PLUGIN_GENERIC_NAME)) next_plugin = NULL; } |