comparison src/protocols/msn/msn.c @ 3279:86fdd015f40e

[gaim-migrate @ 3297] Fewer compile warnings! Thanks, Ari Pollak (I even spelled your name correctly) Also, I think one of these warnings may have fixed a sporadic Hotmail auth failure; let me know if you still get those. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 29 May 2002 01:23:38 +0000
parents 73fd73188485
children 3e37cfdcca73
comparison
equal deleted inserted replaced
3278:30ca1b76ad0c 3279:86fdd015f40e
1240 char buf2[64]; 1240 char buf2[64];
1241 char sendbuf[64]; 1241 char sendbuf[64];
1242 char hippy[2048]; 1242 char hippy[2048];
1243 char *rru; 1243 char *rru;
1244 char *passport; 1244 char *passport;
1245 char *filename;
1246 1245
1247 GET_NEXT(tmp); 1246 GET_NEXT(tmp);
1248 GET_NEXT(tmp); 1247 GET_NEXT(tmp);
1249 rru = tmp; 1248 rru = tmp;
1250 GET_NEXT(tmp); 1249 GET_NEXT(tmp);
1251 passport = tmp; 1250 passport = tmp;
1252 1251
1253 snprintf(hippy, sizeof(hippy), "%s%d%s", md->mspauth, time(NULL) - md->sl, gc->password); 1252 snprintf(hippy, sizeof(hippy), "%s%lu%s", md->mspauth, time(NULL) - md->sl, gc->password);
1254 1253
1255 md5_init(&st); 1254 md5_init(&st);
1256 md5_append(&st, (const md5_byte_t *)hippy, strlen(hippy)); 1255 md5_append(&st, (const md5_byte_t *)hippy, strlen(hippy));
1257 md5_finish(&st, di); 1256 md5_finish(&st, di);
1258 1257