diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
commit | 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /net-im/mbpurple/files/patch-microblog_mb__net.c | |
parent | textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff) |
With the power of USES=dos2unix, get rid of most patches and files
with CRLF.
While there, run make makepatch, rename patches to use the new scheme,
and various fixes.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'net-im/mbpurple/files/patch-microblog_mb__net.c')
-rw-r--r-- | net-im/mbpurple/files/patch-microblog_mb__net.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-im/mbpurple/files/patch-microblog_mb__net.c b/net-im/mbpurple/files/patch-microblog_mb__net.c new file mode 100644 index 000000000000..077b0f249c02 --- /dev/null +++ b/net-im/mbpurple/files/patch-microblog_mb__net.c @@ -0,0 +1,17 @@ +--- microblog/mb_net.c.orig 2016-06-20 15:55:29 UTC ++++ microblog/mb_net.c +@@ -160,13 +160,13 @@ void mb_conn_fetch_url_cb(PurpleUtilFetc + conn_data->fetch_url_data = NULL; + + if(error_message != NULL) { +- mb_conn_data_free(conn_data); + if(conn_data->handler) { + retval = conn_data->handler(conn_data, conn_data->handler_data, error_message); + } + if(ma->gc != NULL) { + purple_connection_error_reason(ma->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, error_message); + } ++ mb_conn_data_free(conn_data); + } else { + mb_http_data_post_read(conn_data->response, url_text, len); + if(conn_data->handler) { |