Commit 04017243 authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix auto-transfers

parent ef44d78a
......@@ -13292,7 +13292,7 @@ do_rip_command(int level, int sublevel, int cmd, const char *rawargs)
break;
}
size_t fnln = p - &args[8];
if (cpln + fnln >= cpln) {
if (cpln + fnln >= sizeof(cache_path)) {
strcpy(rip.bbs->dldir, dldir);
free(dldir);
break;
......@@ -13336,7 +13336,7 @@ do_rip_command(int level, int sublevel, int cmd, const char *rawargs)
break;
}
size_t fnln = p - &args[8];
if (cpln + fnln >= cpln) {
if (cpln + fnln >= sizeof(cache_path)) {
strcpy(rip.bbs->uldir, uldir);
free(uldir);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment