Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 3557 |
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 |
| 3558 |
ExtractFileName(sendfile, c->scp.localfile, sizeof(c->scp.localfile)); // file name only |
ExtractFileName(sendfile, c->scp.localfile, sizeof(c->scp.localfile)); // file name only |
| 3559 |
if (dstfile == NULL || dstfile[0] == '\0') { // remote file path |
if (dstfile == NULL || dstfile[0] == '\0') { // remote file path |
| 3560 |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), c->scp.localfile, _TRUNCATE); // full path |
strncpy_s(c->scp.remotefile, sizeof(c->scp.remotefile), ".", _TRUNCATE); // full path |
| 3561 |
} else { |
} else { |
| 3562 |
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 |
| 3563 |
} |
} |
|
|
Legend:
| Removed from v.3152 |
|
| changed lines |
| |
Added in v.3156 |
|
|
| |