one more null check

This commit is contained in:
Colin Leroy 2003-12-05 17:23:08 +00:00
parent d0d1eaef89
commit 6d4a15d500

View file

@ -284,6 +284,9 @@ static gboolean sock_check(GSource *source)
fd_set fds;
GIOCondition condition = sock->condition;
if (!sock || !sock->sock)
return FALSE;
#if USE_OPENSSL
if (sock->ssl) {
if (condition & G_IO_IN) {