# HG changeset patch # User rosfran # Date 1168536993 0 # Node ID 91a24122e3ae3f28d0ed9e5aee1cde8684a6a523 # Parent 2c550e80c4190c46142e5525c8730d514d8a1060 [svn r263] Fixed bug inserted on gmyth_socket_try_connect, which throws a NULL pointer error. diff -r 2c550e80c419 -r 91a24122e3ae gmyth/src/gmyth_socket.c --- a/gmyth/src/gmyth_socket.c Thu Jan 11 17:18:48 2007 +0000 +++ b/gmyth/src/gmyth_socket.c Thu Jan 11 17:36:33 2007 +0000 @@ -432,6 +432,7 @@ gmyth_socket_try_connect ( gint fd, struct sockaddr *remote, gint len, struct timeval *timeout, gint *err) { + g_return_val_if_fail( timeout != NULL, 0 ); gint saveflags, ret, back_err; fd_set fd_w;