diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-10-03 20:33:24 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-10-03 20:33:24 +0000 |
commit | 54ee6b1a117c8c4d81783a662d4fc406f2d09342 (patch) | |
tree | e8e1482d32b6d1453c7c7bcc3e657d9367700312 /net-libs/loudmouth/files | |
parent | Mark stable x86 (diff) | |
download | gentoo-2-54ee6b1a117c8c4d81783a662d4fc406f2d09342.tar.gz gentoo-2-54ee6b1a117c8c4d81783a662d4fc406f2d09342.tar.bz2 gentoo-2-54ee6b1a117c8c4d81783a662d4fc406f2d09342.zip |
add patch
Diffstat (limited to 'net-libs/loudmouth/files')
-rw-r--r-- | net-libs/loudmouth/files/loudmouth-0.14-gnutls_null_no_error.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-libs/loudmouth/files/loudmouth-0.14-gnutls_null_no_error.patch b/net-libs/loudmouth/files/loudmouth-0.14-gnutls_null_no_error.patch new file mode 100644 index 000000000000..30f0eeedfb56 --- /dev/null +++ b/net-libs/loudmouth/files/loudmouth-0.14-gnutls_null_no_error.patch @@ -0,0 +1,14 @@ +--- loudmouth-0.14/loudmouth/lm-connection.c 2003-10-02 10:36:30.000000000 +0200 ++++ loudmouth-0.14/loudmouth/lm-connection.c.new 2003-10-03 21:42:05.000000000 +0200 +@@ -437,7 +437,10 @@ + if (connection->use_ssl) { + bytes_read = gnutls_record_recv (connection->gnutls_session, + buf,IN_BUFFER_SIZE - 1); +- if (bytes_read <= 0) { ++ if (bytes_read == GNUTLS_E_AGAIN) { ++ status = G_IO_STATUS_AGAIN; ++ } ++ else if (bytes_read <= 0) { + status = G_IO_STATUS_ERROR; + + //connection_error_event (connection->io_channel, |