summaryrefslogtreecommitdiff
path: root/source3/utils/net_time.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-29 12:36:06 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-29 04:42:04 +0200
commit573109d346b67a9f711187636a2cae3ae7f1cbcf (patch)
treebd0fb1eb1e99f2783b595d447bff3aaa21398a5e /source3/utils/net_time.c
parent0e38199a84368273739e440eb0163b95651dad7f (diff)
downloadsamba-573109d346b67a9f711187636a2cae3ae7f1cbcf.tar.gz
samba-573109d346b67a9f711187636a2cae3ae7f1cbcf.tar.bz2
samba-573109d346b67a9f711187636a2cae3ae7f1cbcf.zip
s3-param Remove .offset == 0 checks as 'valid' will have offset 0
The validity of an entry in the parm_table is by having a .p_class of P_LOCAL or P_GLOBAL rather than P_SEPARATOR. Termination of the table is by having a .label of non-NULL. This is possible because there are no longer any specially handled smb.conf options without a value in the struct loadparm_globals or struct loadparm_service. This is required because the first element in the structure will have .offset = 0, and skipping that would be unfortunate (particularly as it is the vital 'valid' variable). Andrew Bartlett
Diffstat (limited to 'source3/utils/net_time.c')
0 files changed, 0 insertions, 0 deletions