Changeset e8e2892


Ignore:
Timestamp:
2010-12-07T13:29:02Z (14 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
6d41bc5
Parents:
1ce52ec
git-author:
Carlo Wood <carlo@…> (07-12-10 13:29:02)
git-committer:
Miklos Vajna <vmiklos@…> (07-12-10 13:29:02)
Message:

Do not crash when failing to connect to skyped

Hi,

when the skype plugin fails to connect to skyped,
it crashes. Not crashing is nicer, because that
results in an neat error message that connecting
to the server failed (and subsequent retries).

The attached patch fixes this crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    r1ce52ec re8e2892  
    151151        struct skype_data *sd = ic->proto_data;
    152152        struct pollfd pfd[1];
     153
     154        if (!sd->ssl)
     155                return FALSE;
    153156
    154157        pfd[0].fd = sd->fd;
Note: See TracChangeset for help on using the changeset viewer.