--- http.c.orig Tue Mar 4 20:34:59 2003 +++ http.c Sat Mar 15 13:41:12 2003 @@ -302,7 +302,7 @@ S->GioCh = g_io_channel_unix_new(S->SockFD); g_io_add_watch(S->GioCh, G_IO_ERR | G_IO_HUP | G_IO_OUT, Http_use_socket, Info->LocalKey); - status = connect(S->SockFD, (struct sockaddr *)&name, sizeof(name)); + status = connect(S->SockFD, (struct sockaddr *)&name, sizeof(struct sockaddr)); if ( status == -1 && errno != EINPROGRESS ) { S->Err = errno; return -1;