diff libpurple/protocols/msn/slp.c @ 32748:845885bd5e4d

Since we don't know what these fields are, and we don't use them, there's probably no need to waste memory for them.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 15 Oct 2011 23:43:14 +0000
parents 904686722499
children f0b5a6f8fded
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Sat Oct 15 23:33:31 2011 +0000
+++ b/libpurple/protocols/msn/slp.c	Sat Oct 15 23:43:14 2011 +0000
@@ -336,8 +336,10 @@
 	}
 	memset(&context.file_name[currentChar], 0x00, (MAX_FILE_NAME_LEN - currentChar) * 2);
 
+#if 0
 	memset(&context.unknown1, 0, sizeof(context.unknown1));
 	context.unknown2 = 0xffffffff;
+#endif
 
 	/* Mind the cast, as in, don't free it after! */
 	context.preview = (char *)preview;