diff libpurple/protocols/oscar/flap_connection.c @ 27225:454d46e9cbb7

Make a function static and add two comments
author Mark Doliner <mark@kingant.net>
date Mon, 22 Jun 2009 08:15:58 +0000
parents f6ef3a9534db
children 75aaadd295ed
line wrap: on
line diff
--- a/libpurple/protocols/oscar/flap_connection.c	Mon Jun 22 06:29:40 2009 +0000
+++ b/libpurple/protocols/oscar/flap_connection.c	Mon Jun 22 08:15:58 2009 +0000
@@ -46,7 +46,7 @@
 	FlapFrame *frame;
 
 	frame = flap_frame_new(od, 0x01, 4);
-	byte_stream_put32(&frame->data, 0x00000001);
+	byte_stream_put32(&frame->data, 0x00000001); /* FLAP Version */
 	flap_connection_send(conn, frame);
 }
 
@@ -64,7 +64,7 @@
 	GSList *tlvlist = NULL;
 
 	frame = flap_frame_new(od, 0x01, 4 + 2 + 2 + length);
-	byte_stream_put32(&frame->data, 0x00000001);
+	byte_stream_put32(&frame->data, 0x00000001); /* FLAP Version */
 	aim_tlvlist_add_raw(&tlvlist, 0x0006, length, chipsahoy);
 	aim_tlvlist_write(&frame->data, &tlvlist);
 	aim_tlvlist_free(tlvlist);