]> CyberLeo.Net >> Repos - FreeBSD/stable/10.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)
commitc7858a7a983d5b4cedfba38494bac8dde52cf215
treee5601f30f3457f1c2164df37f0d14dc31d6d50ec
parentaf03d5ab85aa6e98b31bd4e6563cd10bd93b1810
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/10@273238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/nscd/query.c