pidgin.next.minor: 4b47614f: Remove some #if 0'ed debugging code.

rlaager at pidgin.im rlaager at pidgin.im
Fri Dec 12 12:10:41 EST 2008


-----------------------------------------------------------------
Revision: 4b47614fcefc560cc4cd40158903931a7ae9f70a
Ancestor: d02580a4b1161c0e09ada536019e3a4351ec7f0b
Author: rlaager at pidgin.im
Date: 2008-12-12T06:52:39
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/4b47614fcefc560cc4cd40158903931a7ae9f70a

Modified files:
        libpurple/protocols/msn/directconn.c

ChangeLog: 

Remove some #if 0'ed debugging code.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/directconn.c	909b1cb3f8d778c5ff2e7c7d45eaf39e8fafc50c
+++ libpurple/protocols/msn/directconn.c	77e28dde08eb6a750061e136ec641a81e5399fd0
@@ -201,24 +201,6 @@ msn_directconn_write(MsnDirectConn *dire
 
 	g_free(buffer);
 
-#if 0
-	/* Let's write the length of the data. */
-	ret = write(directconn->fd, &len, sizeof(len));
-
-	/* Let's write the data. */
-	ret = write(directconn->fd, data, len);
-
-	char *str;
-	str = g_strdup_printf("/home/revo/msntest/w%.4d.bin", directconn->c);
-
-	FILE *tf = g_fopen(str, "w");
-	fwrite(&len, 1, sizeof(len), tf);
-	fwrite(data, 1, len, tf);
-	fclose(tf);
-
-	g_free(str);
-#endif
-
 	directconn->c++;
 
 	return ret;


More information about the Commits mailing list