comparison libpurple/protocols/msn/xfer.c @ 32749:b2b704d658da

The second unknown field should be 0xffffffff to match previous and accepted behaviour.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 16 Oct 2011 00:03:52 +0000
parents 845885bd5e4d
children f0b5a6f8fded
comparison
equal deleted inserted replaced
32748:845885bd5e4d 32749:b2b704d658da
179 tmp += sizeof(context->unknown1); 179 tmp += sizeof(context->unknown1);
180 msn_push32le(tmp, context->unknown2); 180 msn_push32le(tmp, context->unknown2);
181 #else 181 #else
182 memset(tmp, 0, sizeof(gchar[30])); 182 memset(tmp, 0, sizeof(gchar[30]));
183 tmp += sizeof(gchar[30]); 183 tmp += sizeof(gchar[30]);
184 msn_push32le(tmp, 0); 184 msn_push32le(tmp, 0xffffffff);
185 #endif 185 #endif
186 if (context->preview) { 186 if (context->preview) {
187 memcpy(tmp, context->preview, context->preview_len); 187 memcpy(tmp, context->preview, context->preview_len);
188 } 188 }
189 tmp[context->preview_len] = '\0'; 189 tmp[context->preview_len] = '\0';