mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 17:30:17 +01:00
core: be more robust to config file syntax issues
Clearly we should be stripping spaces off plugin names if that's what the user happened to type.
This commit is contained in:
parent
cd5d904928
commit
14a358f604
1 changed files with 1 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ load_plugins (NMSysconfigSettings *self, const char *plugins, GError **error)
|
|||
for (iter = plist; *iter; iter++) {
|
||||
GModule *plugin;
|
||||
char *full_name, *path;
|
||||
const char *pname = *iter;
|
||||
const char *pname = g_strstrip (*iter);
|
||||
GObject *obj;
|
||||
GObject * (*factory_func) (void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue