version 1.158, 2022/01/01 01:55:30 |
version 1.159, 2022/01/08 07:34:57 |
|
|
|
|
if ((r = sshbuf_get_u32(msg, &status)) != 0) |
if ((r = sshbuf_get_u32(msg, &status)) != 0) |
fatal_fr(r, "parse status"); |
fatal_fr(r, "parse status"); |
error("Couldn't canonicalize: %s", fx2txt(status)); |
error("canonicalize %s: %s", path, fx2txt(status)); |
sshbuf_free(msg); |
sshbuf_free(msg); |
return NULL; |
return NULL; |
} else if (type != SSH2_FXP_NAME) |
} else if (type != SSH2_FXP_NAME) |
|
|
debug3("Sent %s message SSH2_FXP_OPEN I:%u P:%s M:0x%04x", |
debug3("Sent %s message SSH2_FXP_OPEN I:%u P:%s M:0x%04x", |
tag, id, path, openmode); |
tag, id, path, openmode); |
if ((handle = get_handle(conn, id, &handle_len, |
if ((handle = get_handle(conn, id, &handle_len, |
"%s open(\"%s\")", tag, path)) == NULL) |
"%s open \"%s\"", tag, path)) == NULL) |
return -1; |
return -1; |
/* success */ |
/* success */ |
*handlep = handle; |
*handlep = handle; |