diff options
-rw-r--r-- | skype/skype.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skype/skype.c b/skype/skype.c index 2c088852..b00344b5 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -151,6 +151,9 @@ int skype_write(struct im_connection *ic, char *buf, int len) struct skype_data *sd = ic->proto_data; struct pollfd pfd[1]; + if (!sd->ssl) + return FALSE; + pfd[0].fd = sd->fd; pfd[0].events = POLLOUT; |