src/protocols/oscar/ft.c

changeset 4913
c58b53024da4
parent 4895
51794f61995e
child 5146
56b1615ba288
--- a/src/protocols/oscar/ft.c	Sun Mar 30 18:45:49 2003 +0000
+++ b/src/protocols/oscar/ft.c	Sun Mar 30 20:02:28 2003 +0000
@@ -650,7 +650,7 @@
 
 	aim_bstream_setpos(bs, 36);
 	/* XXX - create an aimbs_getnullstr function? */
-	snptr = aimbs_getstr(bs, MAXSNLEN);
+	snptr = aimbs_getstr(bs, 32); /* Next 32 bytes contain the sn, padded with null chars */
 
 	faimdprintf(sess, 2, "faim: OFT frame: handlehdr_odc: %04x / %04x / %s\n", payloadlength, flags, snptr);
 

mercurial