changeset 25875:8b16818f7844

Remove some #if 0'ed debugging code.
author Richard Laager <rlaager@wiktel.com>
date Fri, 12 Dec 2008 06:52:39 +0000
parents 367b3ddcf5c3
children 146ee5c01696
files libpurple/protocols/msn/directconn.c
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c	Mon Dec 08 17:57:09 2008 +0000
+++ b/libpurple/protocols/msn/directconn.c	Fri Dec 12 06:52:39 2008 +0000
@@ -201,24 +201,6 @@
 
 	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;