that was expecting a "struct timeval" on the stack. I've guessed at a suitable replacement timeout.
Reviewed by: Geoff Submitted by: Christopher G. Demetriou