diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2008-04-29 00:41:40 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-04-29 00:41:40 +0100 |
commit | b707104f4dba0963ab17c1d6a29c1e3a848ea408 (patch) | |
tree | e7ced9c81c9bad36f77354ae0ec18f3b27367121 | |
parent | e6b525aefc05b5203391699b00053ad52243cc6b (diff) |
silence warning
-rwxr-xr-x[-rw-r--r--] | src/authutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authutil.c b/src/authutil.c index c1d1aee..9cb3deb 100644..100755 --- a/src/authutil.c +++ b/src/authutil.c @@ -101,7 +101,7 @@ IceAuthFileName (void) if ((ptr1 = getenv("HOMEDRIVE")) && (ptr2 = getenv("HOMEDIR"))) { len1 = strlen (ptr1); len2 = strlen (ptr2); - } else if (ptr2 = getenv("USERNAME")) { + } else if ((ptr2 = getenv("USERNAME"))) { len1 = strlen (ptr1 = "/users/"); len2 = strlen (ptr2); } |