1
0
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:
Jeremy Allison 2006-03-08 01:43:23 +00:00 committed by Gerald (Jerry) Carter
parent ead13ca522
commit ccb2a52e29

View File

@ -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();
}