summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-04-18 17:59:56 +0200
committerThomas Haller <thaller@redhat.com>2016-04-19 13:47:42 +0200
commitcb22f025886ffdeca7dec3615e0e5cbb0fe2470b (patch)
tree5e4f4cbd162abf4e71483847a03d734328bda39e
parent4003edbbf91910d9da55e68381d5eb164ca9669c (diff)
downloadNetworkManager-cb22f025886ffdeca7dec3615e0e5cbb0fe2470b.tar.gz
libnm/vpn: fix code comment for nm_vpn_editor_plugin_load_from_file()
The @plugin_filename argument must be an absolute path. That was changed later, but forgot to update the comment. Fixes: 3dfbbb227e82b47973f612b6b031d8d591727436
-rw-r--r--libnm-core/nm-vpn-editor-plugin.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libnm-core/nm-vpn-editor-plugin.c b/libnm-core/nm-vpn-editor-plugin.c
index 5a1eed88dd..e1c2f450ef 100644
--- a/libnm-core/nm-vpn-editor-plugin.c
+++ b/libnm-core/nm-vpn-editor-plugin.c
@@ -74,11 +74,7 @@ nm_vpn_editor_plugin_default_init (NMVpnEditorPluginInterface *iface)
/**
* nm_vpn_editor_plugin_load_from_file:
* @plugin_filename: The path to the share library to load.
- * Apply some common heuristics to find the library, such as
- * appending "so" file ending.
- * If the path is not an absolute path or no matching module
- * can be found, lookup inside a directory defined at compile time.
- * Due to this, @check_file might be called for two different paths.
+ * The path must be an absolute filename to an existing file.
* @check_service: if not-null, check that the loaded plugin advertises
* the given service.
* @check_owner: if non-negative, check whether the file is owned