changeset 7177:4200828dc06c

[gaim-migrate @ 7745] rwscott noticed this committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 06 Oct 2003 21:55:28 +0000
parents 57478df4faf8
children eb3356588ef5
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Mon Oct 06 04:36:44 2003 +0000
+++ b/src/protocols/jabber/jabber.c	Mon Oct 06 21:55:28 2003 +0000
@@ -265,6 +265,8 @@
 		buf[len] = '\0';
 		gaim_debug(GAIM_DEBUG_INFO, "jabber", "Recv (ssl)(%d): %s\n", len, buf);
 		jabber_parser_process(js, buf, len);
+	} else {
+		gaim_connection_error(gc, _("Read Error"));
 	}
 }
 
@@ -283,6 +285,8 @@
 		buf[len] = '\0';
 		gaim_debug(GAIM_DEBUG_INFO, "jabber", "Recv (%d): %s\n", len, buf);
 		jabber_parser_process(js, buf, len);
+	} else {
+		gaim_connection_error(gc, _("Read Error"));
 	}
 }