Laurent Vivier 1b09aeb908 linux-user: correct setsockopt()
SO_SNDTIMEO and SO_RCVTIMEO take a struct timeval, not an int

To test this, you can use :

QEMU_STRACE= ping localhost 2>&1 |grep TIMEO
568 setsockopt(3,SOL_SOCKET,SO_SNDTIMEO,{1,0},8) = 0
568 setsockopt(3,SOL_SOCKET,SO_RCVTIMEO,{1,0},8) = 0

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2013-01-30 12:13:21 +01:00
..
2012-12-19 08:31:31 +01:00
2012-03-14 22:20:24 +01:00
2012-12-19 08:31:31 +01:00
2012-08-14 20:26:55 +01:00
2010-10-05 13:53:56 -05:00
2013-01-30 12:13:21 +01:00
2009-07-01 18:24:44 +00:00