gsocket: fix g_socket_condition_timed_wait() recovery after EINTR
authorDan Winship <danw@gnome.org>
Fri, 14 Feb 2014 20:35:11 +0000 (15:35 -0500)
committerDan Winship <danw@gnome.org>
Mon, 17 Feb 2014 16:38:11 +0000 (11:38 -0500)
commit4139b26f3e2f869191b3d96d912f699470db6cea
treed2a8c5f9587bc784b1c29fc6a7cfd321dcf393ad
parent5a4478664be8bc6523f6452bfd63340718be2aa5
gsocket: fix g_socket_condition_timed_wait() recovery after EINTR

After getting an EINTR, g_socket_condition_timed_wait() has to adjust
its timeout, but it was trying to convert from nanoseconds to
microseconds by multiplying by 1000 rather than dividing... Oops.

https://bugzilla.gnome.org/show_bug.cgi?id=724239
gio/gsocket.c