1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

r14007: Coverity bug CID . Don't compare against 0, we

mean the ttl instead.
Jeremy.
(This used to be commit ccb2a52e29de7e2847ccd93aa99236f63202a4af)
This commit is contained in:
Jeremy Allison 2006-03-08 01:43:23 +00:00 committed by Gerald (Jerry) Carter
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();
}