Fix warning in roken test on Windows
This commit is contained in:

committed by
Jeffrey Altman

parent
43a911eedc
commit
299fbf5dac
@@ -40,8 +40,8 @@ int
|
||||
main(void)
|
||||
{
|
||||
char buf[MAX_PATH * 2];
|
||||
char buf2[MAX_PATH * 2];
|
||||
#ifndef WIN32
|
||||
char buf2[MAX_PATH * 2];
|
||||
int ret = 0;
|
||||
if (!issuid() && getuid() != 0) {
|
||||
if (getenv("USER") != NULL && strlen(getenv("USER")) != 0 &&
|
||||
|
Reference in New Issue
Block a user