diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-03-17 13:41:49 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-17 13:57:37 +0100 |
commit | 9395999543eaad251d61a83b50f461cc29884cd2 (patch) | |
tree | 4213f0e89d018bb7ab517a03a8f1e337e4e032cf /src/tool_homedir.c | |
parent | a6b8fe2a5f6f18bd1a6fd0767a961fa1e87aba3e (diff) | |
download | curl-9395999543eaad251d61a83b50f461cc29884cd2.tar.gz |
checksrc: use space after comma
Diffstat (limited to 'src/tool_homedir.c')
-rw-r--r-- | src/tool_homedir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_homedir.c b/src/tool_homedir.c index 11bb4ef3d..73a66f8f6 100644 --- a/src/tool_homedir.c +++ b/src/tool_homedir.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -44,11 +44,11 @@ static char *GetEnv(const char *variable, char do_expand) env = buf1; variable = buf1; } - if(do_expand && strchr(variable,'%')) { + if(do_expand && strchr(variable, '%')) { /* buf2 == variable if not expanded */ rc = ExpandEnvironmentStrings (variable, buf2, sizeof(buf2)); if(rc > 0 && rc < sizeof(buf2) && - !strchr(buf2,'%')) /* no vars still unexpanded */ + !strchr(buf2, '%')) /* no vars still unexpanded */ env = buf2; } #else |