Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 3887 |
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 |
| 3888 |
ExtractFileName(sendfile, c->scp.localfile, sizeof(c->scp.localfile)); // file name only |
ExtractFileName(sendfile, c->scp.localfile, sizeof(c->scp.localfile)); // file name only |
| 3889 |
if (dstfile == NULL || dstfile[0] == '\0') { // remote file path |
if (dstfile == NULL || dstfile[0] == '\0') { // remote file path |
| 3890 |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), "~/", _TRUNCATE); // full path |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), ".", _TRUNCATE); // full path |
| 3891 |
} else { |
} else { |
| 3892 |
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 |
| 3893 |
} |
} |
|
|
Legend:
| Removed from v.6355 |
|
| changed lines |
| |
Added in v.6457 |
|
|
| |