ftp: rename variable named bool.
* Causes conflicts with <stdbool.h>
This commit is contained in:
@@ -771,10 +771,10 @@ fget(int argc, char *argv[])
|
||||
}
|
||||
|
||||
char *
|
||||
onoff(int bool)
|
||||
onoff(int value)
|
||||
{
|
||||
|
||||
return (bool ? "on" : "off");
|
||||
return (value != 0 ? "on" : "off");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user