1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

Give fxp_mkdir_send an attrs parameter.

It's not used anywhere, but this would make it one step easier to add
a mode argument to PSFTP's mkdir command, if anyone needs it. Mostly
the point is to get rid of the FIXME comment in fxp_mkdir_send itself.
This commit is contained in:
Simon Tatham
2018-10-06 11:52:04 +01:00
parent d9369d4a46
commit 6c0f22bb9f
4 changed files with 13 additions and 12 deletions

2
pscp.c
View File

@ -1015,7 +1015,7 @@ int scp_send_dirname(const char *name, int modes)
* exists and is a directory we will assume we were either
* successful or it didn't matter.
*/
req = fxp_mkdir_send(fullname);
req = fxp_mkdir_send(fullname, NULL);
pktin = sftp_wait_for_reply(req);
ret = fxp_mkdir_recv(pktin, req);