pidgin: bfb17183: Make a function static and add two comme...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Jun 22 04:20:39 EDT 2009
-----------------------------------------------------------------
Revision: bfb17183fbbf44cc19720d4d11594a7fdaad25de
Ancestor: 577413bc18969c505cf9146e954db15746895753
Author: markdoliner at pidgin.im
Date: 2009-06-22T08:15:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bfb17183fbbf44cc19720d4d11594a7fdaad25de
Modified files:
libpurple/protocols/oscar/flap_connection.c
libpurple/protocols/oscar/oscar.c
ChangeLog:
Make a function static and add two comments
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/flap_connection.c 38f6deccbed44e2348a66126a718fb8a8f164732
+++ libpurple/protocols/oscar/flap_connection.c 7f5ac0e9587c2aef4ab1dffb8e0c19e37c9a5c91
@@ -46,7 +46,7 @@ flap_connection_send_version(OscarData *
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 @@ flap_connection_send_version_with_cookie
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);
============================================================
--- libpurple/protocols/oscar/oscar.c 8659f12905978593f94992adbc46446f2310c8d7
+++ libpurple/protocols/oscar/oscar.c d2cf46b2e0a30636e59d8f28eb65d7d876f10717
@@ -1872,7 +1872,8 @@ straight_to_hell(gpointer data, gint sou
/* size of icbmui.ocm, the largest module in AIM 3.5 */
#define AIM_MAX_FILE_SIZE 98304
-int purple_memrequest(OscarData *od, FlapConnection *conn, FlapFrame *fr, ...) {
+static int purple_memrequest(OscarData *od, FlapConnection *conn, FlapFrame *fr, ...)
+{
va_list ap;
struct pieceofcrap *pos;
guint32 offset, len;
More information about the Commits
mailing list