diff 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
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Wed May 29 00:24:41 2002 +0000
+++ b/src/protocols/msn/msn.c	Wed May 29 01:23:38 2002 +0000
@@ -1242,7 +1242,6 @@
 		char hippy[2048];
 		char *rru;
 		char *passport;
-		char *filename;
 
 		GET_NEXT(tmp);
 		GET_NEXT(tmp);
@@ -1250,7 +1249,7 @@
 		GET_NEXT(tmp);
 		passport = tmp;
 		
-		snprintf(hippy, sizeof(hippy), "%s%d%s", md->mspauth, time(NULL) - md->sl, gc->password);
+		snprintf(hippy, sizeof(hippy), "%s%lu%s", md->mspauth, time(NULL) - md->sl, gc->password);
 
 		md5_init(&st);
 		md5_append(&st, (const md5_byte_t *)hippy, strlen(hippy));