Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/comms/bforce-kst/files/patch-sess_call.c
16461 views
1
--- bforce/sess_call.c.orig Thu Nov 21 23:22:56 2002
2
+++ bforce/sess_call.c Sat May 29 22:37:30 2004
3
@@ -609,10 +609,20 @@
4
5
if( !opts->hiddline )
6
{
7
- if( timevec_isdefined(&state.override.worktime) )
8
- goodtime = timevec_isnow(&state.override.worktime, now);
9
+ if( state.override.sFlags && !nodelist_checkflag(state.override.sFlags, "CM") )
10
+ goodtime = TRUE;
11
else
12
- goodtime = timevec_isnow(&state.node.worktime, now);
13
+ {
14
+ if( timevec_isdefined(&state.override.worktime) )
15
+ goodtime = timevec_isnow(&state.override.worktime, now);
16
+ else
17
+ {
18
+ if( !nodelist_checkflag(state.node.flags, "CM") )
19
+ goodtime = TRUE;
20
+ else
21
+ goodtime = timevec_isnow(&state.node.worktime, now);
22
+ }
23
+ }
24
}
25
else
26
goodtime = timevec_isnow(&state.override.worktime, now);
27
28