aboutsummaryrefslogtreecommitdiff
path: root/lib/getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getenv.c')
-rw-r--r--lib/getenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getenv.c b/lib/getenv.c
index ca88234fa..6bd0e07ba 100644
--- a/lib/getenv.c
+++ b/lib/getenv.c
@@ -46,13 +46,13 @@ char *GetEnv(const char *variable)
char env[MAX_PATH]; /* MAX_PATH is from windef.h */
char *temp = getenv(variable);
env[0] = '\0';
- if (temp != NULL)
+ if(temp != NULL)
ExpandEnvironmentStrings(temp, env, sizeof(env));
return (env[0] != '\0')?strdup(env):NULL;
#else
char *env = getenv(variable);
#ifdef VMS
- if (env && strcmp("HOME",variable) == 0)
+ if(env && strcmp("HOME",variable) == 0)
env = decc$translate_vms(env);
#endif
return (env && env[0])?strdup(env):NULL;