Skip to content

Commit

Permalink
fix dropbear path processing
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Sep 22, 2023
1 parent 73cac55 commit d546883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/patches/dropbear-localoptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static const char* get_sftp_server_path() {
strncpy(path, SFTPSERVER_PATH_FALLBACK, sizeof(path));
return path;
}
last_slash = strrchr(path, '/');
last_slash = strrchr(dropbear_path, '/');
if (last_slash == NULL) {
strncpy(path, SFTPSERVER_PATH_FALLBACK, sizeof(path));
return path;
Expand Down

0 comments on commit d546883

Please sign in to comment.