diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-10 20:06:56 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-11 04:08:02 +0000 |
commit | c7217638586c0f12ac02f4cf424f3eae070dcd2d (patch) | |
tree | ccb3945970bb30400c3d4e6ae82037548c6a44c8 /wsutil/plugins.c | |
parent | c1719a8bf385fc1919b814d2ba37464691fa82b4 (diff) |
Update a comment to reflect current reality.
All plugin types now have plugin_register() as the registration
function, so it's an entry point for the plugin registration function,
not the particular plugin type.
Clean up white space while we're at it.
Change-Id: I166359deac57512cb6e87b2c7388c4b25cc54e10
Reviewed-on: https://code.wireshark.org/review/25254
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/plugins.c')
-rw-r--r-- | wsutil/plugins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/plugins.c b/wsutil/plugins.c index 86c02e0c0d..858edbe205 100644 --- a/wsutil/plugins.c +++ b/wsutil/plugins.c @@ -141,7 +141,7 @@ plugins_scan_dir(GPtrArray **plugins_ptr, const char *dirpath, plugin_type_e typ continue; } - /* Search for the entry point for the plugin type */ + /* Search for the entry point for the plugin registration function */ if (!g_module_symbol(handle, "plugin_register", &symbol)) { report_failure("The plugin '%s' has no \"plugin_register\" symbol", name); g_module_close(handle); @@ -251,7 +251,7 @@ plugins_init(plugin_type_e type) switch (type) { case WS_PLUGIN_EPAN: - type_dir = TYPE_DIR_EPAN; + type_dir = TYPE_DIR_EPAN; break; case WS_PLUGIN_WIRETAP: type_dir = TYPE_DIR_WIRETAP; |