From b064db1bdac9fbd7ac378824d51ea1e451ee38c8 Mon Sep 17 00:00:00 2001 From: mid Date: Sat, 8 Sep 2001 08:06:29 +0000 Subject: [PATCH] - Sat Sep 8 00:55:46 PDT 2001 - Chatnav loop fix. (Err. I shouldn't code when I'm that tired.) - Remove some things from BUGS - Remove USE_MACROS from faimconfig.h. Not used, and frivelous when it was. --- BUGS | 27 +++------------------------ CHANGES | 5 +++++ include/faimconfig.h | 12 +----------- src/chatnav.c | 3 +-- 4 files changed, 10 insertions(+), 37 deletions(-) diff --git a/BUGS b/BUGS index 57bcfbe..548930d 100644 --- a/BUGS +++ b/BUGS @@ -3,35 +3,14 @@ aim.h ----- - Needs a bit of cleaning -aim_auth.c ----------- - - Login doesn't take advantage of aim_conn constructs where it could - - Login should allow for multiple BOS connections - -aim_chat.c ----------- - - Needs to be implemented. - -aim_chatnav.c -------------- - - Needs to be implemented. - -aim_conn.c ----------- - - Does not work with proxies. - -aim_search.c +search.c ------------ - Still need aim_usersearch_name() -aim_snac.c +snac.c ---------- - Should implement better SNAC handling -aim_tlv.c ---------- - - Newer TLV bulk-read routines most likely have leakage somewhere. - -aim_rxhandlers.c +rxhandlers.c ---------------- - Need a better solution than sleep() diff --git a/CHANGES b/CHANGES index 8f21d2f..5929472 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,11 @@ No release numbers ------------------ + - Sat Sep 8 00:55:46 PDT 2001 + - Chatnav loop fix. (Err. I shouldn't code when I'm that tired.) + - Remove some things from BUGS + - Remove USE_MACROS from faimconfig.h. Not used, and frivelous when it was. + - Fri Sep 7 21:18:51 PDT 2001 - Make icon field names uniform - Add AIM_IMFLAGS_CUSTOMFEATURES. This allows the client to send/recieve diff --git a/include/faimconfig.h b/include/faimconfig.h index 9fbbdb4..84dc448 100644 --- a/include/faimconfig.h +++ b/include/faimconfig.h @@ -39,16 +39,6 @@ #define FAIM_LOGIN_SERVER "login.oscar.aol.com" #define FAIM_LOGIN_PORT 5190 -/* - * The integer extraction/copying functions in aim_util.c have - * both a function version and a macro version. The macro - * version is suggested. Since the function version is more - * readable, I leave both around for reference. - * - * Default: defined. - */ -#define AIMUTIL_USEMACROS - /* * What type of synchronisation to use. * @@ -83,7 +73,7 @@ #define FAIM_SNAC_HASH_SIZE 16 /* - * If building on Win32,define WIN32_STATIC if you don't want + * If building on Win32, define WIN32_STATIC if you don't want * to compile libfaim as a DLL (and instead link it right into * your app). */ diff --git a/src/chatnav.c b/src/chatnav.c index 3551ab2..c9fe927 100644 --- a/src/chatnav.c +++ b/src/chatnav.c @@ -244,13 +244,12 @@ static int parseinfo_perms(aim_session_t *sess, aim_module_t *mod, aim_frame_t * if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) ret = userfunc(sess, rx, snac2->type, maxrooms, curexchange, exchanges); - for (curexchange--; curexchange >= 0; curexchange++) { + for (curexchange--; curexchange >= 0; curexchange--) { free(exchanges[curexchange].name); free(exchanges[curexchange].charset1); free(exchanges[curexchange].lang1); free(exchanges[curexchange].charset2); free(exchanges[curexchange].lang2); - curexchange--; } free(exchanges); aim_freetlvchain(&tlvlist); -- 2.45.1