ftp: rename variable named bool.

* Causes conflicts with <stdbool.h>
This commit is contained in:
Jessica Hamilton
2017-09-10 07:35:41 +12:00
parent d995db52e5
commit 77815ad59a
+2 -2
View File
@@ -771,10 +771,10 @@ fget(int argc, char *argv[])
} }
char * char *
onoff(int bool) onoff(int value)
{ {
return (bool ? "on" : "off"); return (value != 0 ? "on" : "off");
} }
/* /*