diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2013-06-07 17:32:22 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2013-06-07 17:32:22 +0200 |
commit | 76843b2216ade6e815cb07ba10c2651476a3bfee (patch) | |
tree | c211d747b6e6ae674ee4da42fe436837f8ce304e | |
parent | 45ecaa552432b683a2138f852cca0dc3fbc672e5 (diff) | |
download | eurephia-76843b2216ade6e815cb07ba10c2651476a3bfee.tar.gz eurephia-76843b2216ade6e815cb07ba10c2651476a3bfee.tar.xz eurephia-76843b2216ade6e815cb07ba10c2651476a3bfee.zip |
plugin: cleaned up some white space errors in environment.c
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-rw-r--r-- | plugin/environment.c | 4 |
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); |