diff src/protocols/oscar/im.c @ 3771:765769211688

[gaim-migrate @ 3910] More FT cleanups by Wil Mahan. Thanks, Wil. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 20 Oct 2002 23:46:56 +0000
parents b32474e522fa
children 07283934dedd
line wrap: on
line diff
--- a/src/protocols/oscar/im.c	Sun Oct 20 19:41:28 2002 +0000
+++ b/src/protocols/oscar/im.c	Sun Oct 20 23:46:56 2002 +0000
@@ -1554,8 +1554,8 @@
 	args->destructor = (void *)incomingim_ch2_sendfile_free;
 
 	if (servdata) {
-		/* 0x0001 for one file, 0x0002 for multiple files. */
-		args->info.sendfile.multiple = aimbs_get16(servdata);
+		/* subtype is one of AIM_OFT_SUBTYPE_* */
+		args->info.sendfile.subtype = aimbs_get16(servdata);
 		args->info.sendfile.totfiles = aimbs_get16(servdata);
 		args->info.sendfile.totsize = aimbs_get32(servdata);
 		args->info.sendfile.filename = aimbs_getstr(servdata,
@@ -1594,7 +1594,7 @@
 	/*
 	 * First two bytes represent the status of the connection.
 	 *
-	 * 0 is a request, 1 is a deny (?), 2 is an accept
+	 * 0 is a request, 1 is a cancel, 2 is an accept
 	 */ 
 	args.status = aimbs_get16(&bbs);