src/protocols/msn/msn.c

changeset 8207
62f5bc66e39f
parent 8175
4e79974d452c
child 8291
da3beaff4d75
--- a/src/protocols/msn/msn.c	Tue Feb 03 16:31:39 2004 +0000
+++ b/src/protocols/msn/msn.c	Wed Feb 04 06:26:54 2004 +0000
@@ -1061,13 +1061,16 @@
 	MsnSession *session = gc->proto_data;
 	char buf[MSN_BUF_LEN];
 
-	g_snprintf(buf, sizeof(buf), "PNG\r\n");
+	if (!session->http_method)
+	{
+		g_snprintf(buf, sizeof(buf), "PNG\r\n");
 
-	if (msn_servconn_write(session->notification_conn,
-						   buf, strlen(buf)) < 0) {
+		if (msn_servconn_write(session->notification_conn,
+							   buf, strlen(buf)) < 0) {
 
-		gaim_connection_error(gc, _("Write error"));
-		return;
+			gaim_connection_error(gc, _("Write error"));
+			return;
+		}
 	}
 }
 

mercurial