changeset 2063:f27177a54007

[gaim-migrate @ 2073] my god, i'm so anal sometimes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 26 Jun 2001 23:10:11 +0000
parents caba1f59801e
children 1f51e772a05c
files plugins/msn/msn.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/msn/msn.c	Tue Jun 26 21:53:09 2001 +0000
+++ b/plugins/msn/msn.c	Tue Jun 26 23:10:11 2001 +0000
@@ -645,10 +645,8 @@
 
 		GET_NEXT(hash);
 		GET_NEXT(hash);
-	
+
 		md5_init(&st);
-
-		printf("Hashing: %s\n", hash);
 		md5_append(&st, (const md5_byte_t *)hash, strlen(hash));
 		md5_append(&st, (const md5_byte_t *)"Q1P7W2E4J9R8U3S5", strlen("Q1P7W2E4J9R8U3S5"));
 		md5_finish(&st, di);
@@ -660,12 +658,11 @@
 		}
 
 		if (msn_write(md->fd, buf, strlen(buf)) < 0) {
-			printf("Couldnt write it");
-			return;
+			hide_login_progress(gc, "Unable to write to server");
+			signoff(gc);
 		}
 
 		debug_printf("\n");
-		
 	} else if (!g_strncasecmp(buf, "FLN", 3)) {
 		char *usr = buf;