summaryrefslogtreecommitdiff
path: root/src/tool_homedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_homedir.c')
-rw-r--r--src/tool_homedir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tool_homedir.c b/src/tool_homedir.c
index 11bb4ef3d..ccf04b596 100644
--- a/src/tool_homedir.c
+++ b/src/tool_homedir.c
@@ -5,11 +5,11 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * 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
- * are also available at http://curl.haxx.se/docs/copyright.html.
+ * are also available at https://curl.haxx.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
@@ -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