Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 3822 |
strncpy_s(c->scp.localfilefull, sizeof(c->scp.localfilefull), sendfile, _TRUNCATE); // full path |
strncpy_s(c->scp.localfilefull, sizeof(c->scp.localfilefull), sendfile, _TRUNCATE); // full path |
| 3823 |
ExtractFileName(sendfile, c->scp.localfile, sizeof(c->scp.localfile)); // file name only |
ExtractFileName(sendfile, c->scp.localfile, sizeof(c->scp.localfile)); // file name only |
| 3824 |
if (dstfile == NULL || dstfile[0] == '\0') { // remote file path |
if (dstfile == NULL || dstfile[0] == '\0') { // remote file path |
| 3825 |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), ".", _TRUNCATE); // full path |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), "~/", _TRUNCATE); // full path |
| 3826 |
} else { |
} else { |
| 3827 |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), dstfile, _TRUNCATE); // full path |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), dstfile, _TRUNCATE); // full path |
| 3828 |
} |
} |
|
|
Legend:
| Removed from v.4867 |
|
| changed lines |
| |
Added in v.4888 |
|
|
| |