2039c263f3
Use a constant struct timeval for yp timeouts instead of creating a new struct timeval in each yp function at runtime. Check arguments and return YPERR_BADARGS if invalid.