diff options
author | root <root@rshg054.dnsready.net> | 2012-05-02 00:01:22 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-02 00:01:22 +0000 |
commit | defe74c9cba07c321ad2869d8f6872e64a167324 (patch) | |
tree | 22377a98049a863983b9a28d9d79fc737f665cc3 /extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch | |
parent | 752015395fc8b95cc4a86b68189cb747fe9a8499 (diff) |
Wed May 2 00:01:22 UTC 2012
Diffstat (limited to 'extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch')
-rw-r--r-- | extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch b/extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch new file mode 100644 index 000000000..349e78555 --- /dev/null +++ b/extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch @@ -0,0 +1,13 @@ +--- libmailwatch-core/mailwatch-net-conn.c.orig 2012-04-29 05:38:20.015564589 +0300 ++++ libmailwatch-core/mailwatch-net-conn.c 2012-04-29 05:39:01.943290639 +0300 +@@ -621,8 +621,10 @@ xfce_mailwatch_net_conn_make_secure(Xfce + net_conn->gt_creds); + gnutls_transport_set_ptr(net_conn->gt_session, + (gnutls_transport_ptr_t)net_conn->fd); ++#if GNUTLS_VERSION_NUMBER < 0x020c00 + if(fcntl(net_conn->fd, F_GETFL) & O_NONBLOCK) + gnutls_transport_set_lowat(net_conn->gt_session, 0); ++#endif + + if(!xfce_mailwatch_net_conn_tls_handshake(net_conn, error)) { + #if 0 |