[svn r263] Fixed bug inserted on gmyth_socket_try_connect, which throws a NULL pointer error. trunk
authorrosfran
Thu Jan 11 17:36:33 2007 +0000 (2007-01-11)
branchtrunk
changeset 26291a24122e3ae
parent 261 2c550e80c419
child 263 8522636169df
[svn r263] Fixed bug inserted on gmyth_socket_try_connect, which throws a NULL pointer error.
gmyth/src/gmyth_socket.c
     1.1 --- a/gmyth/src/gmyth_socket.c	Thu Jan 11 17:18:48 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;