diff src/protocols/oscar/rxhandlers.c @ 4624:a964972cb361

[gaim-migrate @ 4915] Thanks to CmdrChalumpa for a lot of this code. Vincas: I think I've improved on your methods a bit, too. I employed some Kiaras-Furo shading, and-- Strongbad: I'll improve on your methods! I replied to your patch with a lil more detail. Thanks! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 28 Feb 2003 04:26:37 +0000
parents 858979ab3867
children 04dc7fe68889
line wrap: on
line diff
--- a/src/protocols/oscar/rxhandlers.c	Thu Feb 27 23:34:18 2003 +0000
+++ b/src/protocols/oscar/rxhandlers.c	Fri Feb 28 04:26:37 2003 +0000
@@ -109,13 +109,23 @@
 	snac.id = aimbs_get32(&rx->data);
 
 	/* SNAC flags are apparently uniform across all SNACs, so we handle them here */
+	if (snac.flags & 0x0001) {
+		/*
+		 * This means the SNAC will be followed by another SNAC with 
+		 * related information.  We don't need to do anything about 
+		 * this here.
+		 */
+	}
 	if (snac.flags & 0x8000) {
-		/* This contains the version of the family that this SNAC is in.  
-		 * You get this when your SSI module is version 2 or higher.  
+		/*
+		 * This packet contains the version of the family that this SNAC is 
+		 * in.  You get this when your SSI module is version 2 or higher.  
 		 * For now we have no need for this, but you could always save 
 		 * it as a part of aim_modnsac_t, or something.  The format is...
-		 * 2 byte length of total mini-header, then TLV of  type 0x0001, 
-		 * length 0x0002, value is the 2 byte version number */
+		 * 2 byte length of total mini-header (which is 6 bytes), then TLV 
+		 * of  type 0x0001, length 0x0002, value is the 2 byte version 
+		 * number
+		 */
 		aim_bstream_advance(&rx->data, aimbs_get16(&rx->data));
 	}