mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
KCC: reword comment, removing unwarranted XXX
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
69488c85c1
commit
7fc108bcb3
@ -770,11 +770,11 @@ class KCC(object):
|
||||
|
||||
# See (NOTE MS-TECH INCORRECT) above
|
||||
|
||||
# XXX it looks like these conditionals are pointless, because
|
||||
# the state will end up as `t_repsFrom.dns_name1 == nastr` in
|
||||
# either case, BUT the repsFrom thing is magic and assigning
|
||||
# to it alters some flags. So we try not to update it unless
|
||||
# necessary.
|
||||
# NOTE: it looks like these conditionals are pointless,
|
||||
# because the state will end up as `t_repsFrom.dns_name1 ==
|
||||
# nastr` in either case, BUT the repsFrom thing is magic and
|
||||
# assigning to it alters some flags. So we try not to update
|
||||
# it unless necessary.
|
||||
if t_repsFrom.dns_name1 != nastr:
|
||||
t_repsFrom.dns_name1 = nastr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user