2005-05-13 Mikael Hallendal <micke@imendio.com>
* loudmouth/lm-ssl.c: (_lm_ssl_read):
- Try to fix LM-3 for real this time.
--- a/ChangeLog Sun May 08 21:34:56 2005 +0000
+++ b/ChangeLog Fri May 13 19:27:54 2005 +0000
@@ -1,3 +1,8 @@
+2005-05-13 Mikael Hallendal <micke@imendio.com>
+
+ * loudmouth/lm-ssl.c: (_lm_ssl_read):
+ - Try to fix LM-3 for real this time.
+
2005-05-08 Mikael Hallendal <micke@imendio.com>
* Release 0.90
--- a/loudmouth/lm-ssl.c Sun May 08 21:34:56 2005 +0000
+++ b/loudmouth/lm-ssl.c Fri May 13 19:27:54 2005 +0000
@@ -209,13 +209,13 @@
//g_print ("%d bytes read\n", size);
- if (*bytes_read == GNUTLS_E_AGAIN) {
+ if (b_read == GNUTLS_E_AGAIN) {
status = G_IO_STATUS_AGAIN;
}
- else if (*bytes_read > len) {
+ else if (b_read > len) {
status = G_IO_STATUS_EOF;
}
- else if (*bytes_read < 0) {
+ else if (b_read < 0) {
status = G_IO_STATUS_ERROR;
} else {
*bytes_read = (guint) b_read;