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

Amending the event.days == 128 fix/work-around.

Don't set to 0xff to begin with, in SCFG.
parent 93c9d7e0
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1074 passed
......@@ -144,7 +144,7 @@ extern "C" time_t DLLCALL getnexteventtime(event_t* event)
if(event->misc & EVENT_DISABLED)
return 0;
if(event->days == 0 || event->days == 128 || event->freq != 0)
if((event->days & 0x7f) == 0 || event->freq != 0)
return 0;
if(localtime_r(&t, &tm) == NULL)
......
......@@ -242,7 +242,7 @@ void net_cfg()
SAFECOPY(cfg.qhub[i]->unpack,"%@unzip -Coj %f %s -d %g");
SAFECOPY(cfg.qhub[i]->call,"*qnet-ftp %s hub.address YOURPASS");
cfg.qhub[i]->node = NODE_ANY;
cfg.qhub[i]->days=(uchar)0xff; /* all days */
cfg.qhub[i]->days=0x7f; /* all days */
uifc.changes=1;
continue;
}
......
......@@ -683,7 +683,7 @@ void tevents_cfg()
if(k==-1)
break;
if(k==7)
cfg.event[i]->days=(uchar)0xff;
cfg.event[i]->days=0x7f;
else if(k==8)
cfg.event[i]->days=0;
else
......
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