branch | trunk |
changeset 262 | 91a24122e3ae |
parent 258 | 835d5cc01a0a |
child 264 | 6d84a80de234 |
1.1 --- a/gmyth/src/gmyth_socket.c Wed Jan 10 22:31:34 2007 +0000 1.2 +++ b/gmyth/src/gmyth_socket.c Thu Jan 11 17:36:33 2007 +0000 1.3 @@ -432,6 +432,7 @@ 1.4 gmyth_socket_try_connect ( gint fd, struct sockaddr *remote, gint len, 1.5 struct timeval *timeout, gint *err) 1.6 { 1.7 + g_return_val_if_fail( timeout != NULL, 0 ); 1.8 gint saveflags, ret, back_err; 1.9 1.10 fd_set fd_w;