From cbd1a77ec24e397d05f20c6de106625676343c9d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Nov 2007 09:21:35 +0000 Subject: if () => if() while () => while() and some other minor re-indentings --- lib/getenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/getenv.c') 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; -- cgit v1.2.1