From 76843b2216ade6e815cb07ba10c2651476a3bfee Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 7 Jun 2013 17:32:22 +0200 Subject: plugin: cleaned up some white space errors in environment.c Signed-off-by: David Sommerseth --- plugin/environment.c | 4 ++-- 1 file 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); -- cgit