]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 272668:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Oct 2014 19:55:12 +0000 (19:55 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Oct 2014 19:55:12 +0000 (19:55 +0000)
commitc5a2e001630e5178e1a955def761143afccd6a1f
tree3b6ed16f2bcaa32c8974b5d6ca8beae1749dc29b
parentf4141a8fa8a53552dee561682d32ae7cfdb106fe
MFC 272668:
Properly set the timeout in a query_state.  The global query_timeout
configuration value is an integer count of seconds, it is not a timeval.
Using memcpy() to copy a timeval from it put garbage into the tv_usec
field.

PR: 194025

git-svn-id: svn://svn.freebsd.org/base/stable/9@273238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/nscd/query.c