Skip to content
Snippets Groups Projects
Commit ef44d78a authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Try to remove the extra "SyncTERM" from the BBS cache path on Win32

Reported by Booch (Thanks!)
parent e5207b56
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2268 passed
......@@ -1044,7 +1044,7 @@ char *get_syncterm_filename(char *fn, int fnlen, int type, int shared)
}
if(we_got_this) {
// Convert unicode to string using snprintf()
if (type == SYNCTERM_DEFAULT_TRANSFER_PATH) {
if (type == SYNCTERM_DEFAULT_TRANSFER_PATH || type == SYNCTERM_PATH_CACHE) {
if(snprintf(fn, fnlen, "%S", path) >= fnlen)
we_got_this=FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment