comparison src/protocols/msn/msn.c @ 5166:cab5cd204956

[gaim-migrate @ 5530] This is that stuff that's supposed to make msn work gooder on OSX. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Apr 2003 18:04:38 +0000
parents b31ad163de3b
children 092b418b5012
comparison
equal deleted inserted replaced
5165:f55f87a82311 5166:cab5cd204956
1343 return; 1343 return;
1344 1344
1345 if (stat(name, &sb) == -1) 1345 if (stat(name, &sb) == -1)
1346 return; 1346 return;
1347 1347
1348 mft->cookie = 1 + (uint32_t)(4294967295.0 * rand() / (RAND_MAX + 1.0)); 1348 mft->cookie = 1 + (guint32)(4294967295.0 * rand() / (RAND_MAX + 1.0));
1349 1349
1350 g_snprintf(header, sizeof(header), 1350 g_snprintf(header, sizeof(header),
1351 "MIME-Version: 1.0\r\n" 1351 "MIME-Version: 1.0\r\n"
1352 "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n" 1352 "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n"
1353 "Application-Name: File Transfer\r\n" 1353 "Application-Name: File Transfer\r\n"