Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 3 contributors
Showing with 6 additions and 1 deletion.
  1. +6 −1 protocols/skype/skype.c
View
7 protocols/skype/skype.c
@@ -1143,8 +1143,9 @@ static gboolean skype_read_callback(gpointer data, gint fd,
}
g_strfreev(lines);
} else if (st == 0 || (st < 0 && !sockerr_again())) {
- closesocket(sd->fd);
+ ssl_disconnect(sd->ssl);
sd->fd = -1;
+ sd->ssl = NULL;
imcb_error(ic, "Error while reading from server");
imc_logout(ic, TRUE);
@@ -1233,6 +1234,10 @@ static void skype_logout(struct im_connection *ic)
struct skype_group *sg = (struct skype_group *)g_list_nth_data(sd->groups, i);
skype_group_free(sg, FALSE);
}
+
+ if (sd->ssl)
+ ssl_disconnect(sd->ssl);
+
g_free(sd->username);
g_free(sd->handle);
g_free(sd);

No commit comments for this range

Something went wrong with that request. Please try again.