Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 16:19:06 GMT
From:      Michael Bushkov <bushman@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110299 for review
Message-ID:  <200611211619.kALGJ6Vc045928@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110299

Change 110299 by bushman@bushman_nss_ldap_cached on 2006/11/20 14:17:21

	Forgot to include it into pre-previous commit and commited empty
	changes set during previous commit. Now everything should be right.

Affected files ...

.. //depot/projects/soc2006/nss_ldap_cached/src/usr.sbin/cached/parser.c#9 edit

Differences ...

==== //depot/projects/soc2006/nss_ldap_cached/src/usr.sbin/cached/parser.c#9 (text) ====

@@ -149,8 +149,12 @@
 	
 	TRACE_IN(set_check_files);
 	entry = find_create_entry(config, entry_name);
-//	if (entry != NULL)
-//		entry->check_files = flag;
+	if (entry != NULL) {
+		if (flag != 0)
+			entry->flags |= CONFIG_ENTRY_CHECK_FOR_CHANGES_FLAG;			
+		else
+			entry->flags &= ~CONFIG_ENTRY_CHECK_FOR_CHANGES_FLAG;
+	}
 	TRACE_OUT(set_check_files);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611211619.kALGJ6Vc045928>