]> andersk Git - libfaim.git/commitdiff
- Fri Aug 18 19:52:54 UTC 2000
authormid <mid>
Fri, 18 Aug 2000 20:11:23 +0000 (20:11 +0000)
committermid <mid>
Fri, 18 Aug 2000 20:11:23 +0000 (20:11 +0000)
   - Fix the non-pthread bug

 - Thu Aug 17 23:19:40 UTC 2000
   - A few more leak fixes (only a few left to go...)

CHANGES
aim_chatnav.c
faim/aim.h

diff --git a/CHANGES b/CHANGES
index 4435056393efcfa2abff10c16bbec08e56d095e7..42d806443a630c51a86a0b09266a421ddf695f1d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
 
 No release numbers
 ------------------
+ - Fri Aug 18 19:52:54 UTC 2000
+   - Fix the non-pthread bug
+
  - Thu Aug 17 23:19:40 UTC 2000
    - A few more leak fixes (only a few left to go...)
 
index adbd095993c90a8686fcada127052decaa4a2f66..2fbbcd90bbdacc4f26a168f629a1edced8ef8871 100644 (file)
@@ -124,6 +124,7 @@ int aim_chatnav_parse_info(struct aim_session_t *sess, struct command_rx_struct
              curexchange++;
              exchanges = realloc(exchanges, curexchange * sizeof(struct aim_chat_exchangeinfo));
              
+
              /* exchange number */
              exchanges[curexchange-1].number = aimutil_get16(exchangetlv->value);
              innerlist = aim_readtlvchain(exchangetlv->value+2, exchangetlv->length-2);
@@ -231,7 +232,7 @@ int aim_chatnav_parse_info(struct aim_session_t *sess, struct command_rx_struct
                           curexchange, 
                           exchanges);
          curexchange--;
-         while(curexchange)
+         while(curexchange >= 0)
            {
              if (exchanges[curexchange].name)
                free(exchanges[curexchange].name);
index a35af362bd145c2d8343653479319bc059620fc6..3947d10afcee01f49d2ddaf284f29f1bfff1fa11 100644 (file)
@@ -53,7 +53,7 @@
  * But they get it to compile.
  */
 #define faim_mutex_t char
-#define faim_mutex_init(x, y) *x = 0
+#define faim_mutex_init(x) *x = 0
 #define faim_mutex_lock(x) *x = 1;
 #define faim_mutex_unlock(x) *x = 0;
 #define faim_mutex_destroy(x) *x = 0;
This page took 0.098555 seconds and 5 git commands to generate.