]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/commit
MFS10 273238;
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Oct 2014 20:39:39 +0000 (20:39 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Oct 2014 20:39:39 +0000 (20:39 +0000)
commit9d01f99f52447923c923535b29af5e747c583570
tree9fdac77f54e172a4ee3367de070fcd82c2e9f781
parent3169778a2f7cfe0b8db8a34efe39520d73a20492
MFS10 273238;
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
Approved by: re (gjb)

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