Skip to content
Snippets Groups Projects
Commit da2177b7 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add TODO comment about dsts.dab not tracking > 4GB up/downloads

parent fcb6846b
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -90,7 +90,7 @@ BOOL inc_sys_upload_stats(scfg_t* cfg, ulong files, ulong bytes) ...@@ -90,7 +90,7 @@ BOOL inc_sys_upload_stats(scfg_t* cfg, ulong files, ulong bytes)
{ {
char str[MAX_PATH+1]; char str[MAX_PATH+1];
int file; int file;
uint32_t val; uint32_t val; // TODO: support > 4GB uploads in a day
SAFEPRINTF(str,"%sdsts.dab",cfg->ctrl_dir); SAFEPRINTF(str,"%sdsts.dab",cfg->ctrl_dir);
if((file=nopen(str,O_RDWR))==-1) if((file=nopen(str,O_RDWR))==-1)
...@@ -113,7 +113,7 @@ BOOL inc_sys_download_stats(scfg_t* cfg, ulong files, ulong bytes) ...@@ -113,7 +113,7 @@ BOOL inc_sys_download_stats(scfg_t* cfg, ulong files, ulong bytes)
{ {
char str[MAX_PATH+1]; char str[MAX_PATH+1];
int file; int file;
uint32_t val; uint32_t val; // TODO: support > 4GB downloads in a day
SAFEPRINTF(str,"%sdsts.dab",cfg->ctrl_dir); SAFEPRINTF(str,"%sdsts.dab",cfg->ctrl_dir);
if((file=nopen(str,O_RDWR))==-1) if((file=nopen(str,O_RDWR))==-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment