mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r14007: Coverity bug CID #197. Don't compare against 0, we
mean the ttl instead. Jeremy.
This commit is contained in:
parent
ead13ca522
commit
ccb2a52e29
@ -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…
Reference in New Issue
Block a user