Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 138740 | Differences between
and this patch

Collapse All | Expand All

(-)centericq-4.21.0.orig/libjabber-0.1/jconn.c (-1 / +1 lines)
Lines 344-354 Link Here
344
{
344
{
345
    fd_set fds;
345
    fd_set fds;
346
    struct timeval tv;
346
    struct timeval tv;
347
    int r;
347
    int r;
348
348
349
    if (!j || j->state == JCONN_STATE_OFF)
349
    if (!j || j->state == JCONN_STATE_OFF || j->fd == -1)
350
	return;
350
	return;
351
351
352
    FD_ZERO(&fds);
352
    FD_ZERO(&fds);
353
    FD_SET(j->fd, &fds);
353
    FD_SET(j->fd, &fds);
354
354

Return to bug 138740