mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Adopt C99 <stdbool.h>'s true/false.
This commit includes <stdbool.h> from defs.h and deletes my traditional definitions of TRUE and FALSE, but other than that, it's a 100% mechanical search-and-replace transforming all uses of TRUE and FALSE into the C99-standardised lowercase spellings. No actual types are changed in this commit; that will come next. This is just getting the noise out of the way, so that subsequent commits can have a higher proportion of signal.
This commit is contained in:
@ -125,14 +125,14 @@ struct sftp_packet *sftp_handle_request(
|
||||
path = get_string(req);
|
||||
if (get_err(req))
|
||||
goto decode_error;
|
||||
sftpsrv_stat(srv, rb, path, TRUE);
|
||||
sftpsrv_stat(srv, rb, path, true);
|
||||
break;
|
||||
|
||||
case SSH_FXP_LSTAT:
|
||||
path = get_string(req);
|
||||
if (get_err(req))
|
||||
goto decode_error;
|
||||
sftpsrv_stat(srv, rb, path, FALSE);
|
||||
sftpsrv_stat(srv, rb, path, false);
|
||||
break;
|
||||
|
||||
case SSH_FXP_FSTAT:
|
||||
@ -171,7 +171,7 @@ struct sftp_packet *sftp_handle_request(
|
||||
handle = get_string(req);
|
||||
if (get_err(req))
|
||||
goto decode_error;
|
||||
sftpsrv_readdir(srv, rb, handle, INT_MAX, FALSE);
|
||||
sftpsrv_readdir(srv, rb, handle, INT_MAX, false);
|
||||
break;
|
||||
|
||||
case SSH_FXP_WRITE:
|
||||
|
Reference in New Issue
Block a user