diff options
Diffstat (limited to 'apps/open_plugin.c')
-rw-r--r-- | apps/open_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/open_plugin.c b/apps/open_plugin.c index fad528e215..67b6f6d318 100644 --- a/apps/open_plugin.c +++ b/apps/open_plugin.c @@ -270,11 +270,11 @@ uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *p if (len > ROCK_LEN && strcasecmp(&(pos[len-ROCK_LEN]), "." ROCK_EXT) == 0) { /* path */ - strlcpy(open_plugin_entry.path, plugin, OPEN_PLUGIN_BUFSZ); + strmemccpy(open_plugin_entry.path, plugin, OPEN_PLUGIN_BUFSZ); if(!parameter) parameter = ""; - strlcpy(open_plugin_entry.param, parameter, OPEN_PLUGIN_BUFSZ); + strmemccpy(open_plugin_entry.param, parameter, OPEN_PLUGIN_BUFSZ); goto retnhash; } else if (len > OP_LEN && strcasecmp(&(pos[len-OP_LEN]), "." OP_EXT) == 0) |