mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
r14007: Coverity bug CID #197. Don't compare against 0, we
mean the ttl instead. Jeremy. (This used to be commit ccb2a52e29de7e2847ccd93aa99236f63202a4af)
This commit is contained in:
parent
26c95f3545
commit
6b35642037
@ -76,7 +76,7 @@ returned for name %s.\n", nmb_namestr(nmbname) ));
|
||||
|
||||
/* Add the queried name to the original subnet as a WINS_PROXY_NAME. */
|
||||
|
||||
if(rrec && (rrec == PERMANENT_TTL)) {
|
||||
if(rrec->ttl == PERMANENT_TTL) {
|
||||
ttl = lp_max_ttl();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user