diff options
-rw-r--r-- | skype/configure.ac | 2 | ||||
-rw-r--r-- | skype/skype.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/skype/configure.ac b/skype/configure.ac index 4a2f318f..24cb7fc6 100644 --- a/skype/configure.ac +++ b/skype/configure.ac @@ -62,7 +62,7 @@ fi dnl Check for Skype4Py AC_MSG_CHECKING(for Python module Skype4Py) -python -c "import Skype4Py" 2>&AS_MESSAGE_LOG_FD +python2.7 -c "import Skype4Py" 2>&AS_MESSAGE_LOG_FD if test "$?" != "0"; then AC_MSG_RESULT(no) SKYPE4PY="no" diff --git a/skype/skype.c b/skype/skype.c index 45b187ea..c6e11960 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; |