Skip to content

Commit e9b1317

Browse files
authored
revert adding motw for sftp uploads (#665)
1 parent ff62288 commit e9b1317

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

sftp-server.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -882,19 +882,6 @@ process_write(u_int32_t id)
882882
(r = sshbuf_get_string(iqueue, &data, &len)) != 0)
883883
fatal_fr(r, "parse");
884884

885-
#ifdef WINDOWS
886-
char* filepath = resolved_path_utf8(handle_to_name(handle));
887-
if (filepath == NULL) {
888-
debug("cannot convert handle %d to utf8 filepath for mark of the web", handle);
889-
}
890-
else {
891-
if (add_mark_of_web(filepath) == -1) {
892-
debug("add_mark_of_web to %s failed", filepath);
893-
}
894-
free(filepath);
895-
}
896-
#endif // WINDOWS
897-
898885
debug("request %u: write \"%s\" (handle %d) off %llu len %zu",
899886
id, handle_to_name(handle), handle, (unsigned long long)off, len);
900887
fd = handle_to_fd(handle);

0 commit comments

Comments
 (0)