summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/environment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/environment.c b/plugin/environment.c
index 7233380..b2b58a9 100644
--- a/plugin/environment.c
+++ b/plugin/environment.c
@@ -48,7 +48,7 @@
* @return Returns a const char * with the value, or NULL if not found
*/
char *get_env(eurephiaCTX *ctx, int logmasking, size_t len,
- const char *envp[], const char *fmt, ... )
+ const char *envp[], const char *fmt, ... )
{
if (envp) {
va_list ap;
@@ -66,7 +66,7 @@ char *get_env(eurephiaCTX *ctx, int logmasking, size_t len,
for (i = 0; envp[i]; ++i) {
if (!strncmp (envp[i], key, keylen)) {
const char *cp = envp[i] + keylen;
- char *ret = NULL;
+ char *ret = NULL;
if (*cp == '=') {
ret = malloc_nullsafe(ctx, len+2);
strncpy(ret, cp+1, len);