diagnostics
This commit is contained in:
parent
263e916d15
commit
ed85c78e69
@ -432,6 +432,8 @@ void handle_RETR(struct ftpserver *cfg, struct ftpclient *client, char *file) {
|
|||||||
} else {
|
} else {
|
||||||
snprintf(fullpath, PATH_MAX, "%s/%s/%s", cfg->fileroot, client->current_path, newpath);
|
snprintf(fullpath, PATH_MAX, "%s/%s/%s", cfg->fileroot, client->current_path, newpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "FULL PATH %s\n", fullpath);
|
||||||
free(newpath);
|
free(newpath);
|
||||||
struct stat s;
|
struct stat s;
|
||||||
pid_t pid = fork();
|
pid_t pid = fork();
|
||||||
|
Reference in New Issue
Block a user