Fix bug found by new prototypes.  The code was passing an int to a function that was expecting a "struct timeval" on the stack.  I've guessed at a suitable replacement timeout.
Fix bug found by new prototypes.  The code was passing an int to a function
that was expecting a "struct timeval" on the stack.  I've guessed at a
suitable replacement timeout.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase