]> andersk Git - libfaim.git/commitdiff
- Sat Dec 2 02:14:45 UTC 2000
authormid <mid>
Sat, 2 Dec 2000 02:17:04 +0000 (02:17 +0000)
committermid <mid>
Sat, 2 Dec 2000 02:17:04 +0000 (02:17 +0000)
  - Dumb bug in aim_clearhandlers()

CHANGES
aim_rxhandlers.c

diff --git a/CHANGES b/CHANGES
index 06efdeb1d78ac72cf863e1147fd2a6021108a199..a64de52f7dce6bafdcc50ad09dd510e77e8bdbee 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
 
 No release numbers
 ------------------
+ - Sat Dec  2 02:14:45 UTC 2000
+  - Dumb bug in aim_clearhandlers()
+
  - Fri Dec  1 23:48:38 UTC 2000
   - Store exchange along with room name in the great chat hack
 
index 97fe6553b8cfb0383a33c75f773a664e491aab6d..df0c499d8a48de0d64960c9fe772549b2bc71a28 100644 (file)
@@ -228,14 +228,14 @@ faim_export int aim_clearhandlers(struct aim_conn_t *conn)
  if (!conn)
    return -1;
 
- cur = conn->handlerlist;
- while(cur) {
+ for (cur = conn->handlerlist; cur; ) {
    struct aim_rxcblist_t *tmp;
 
    tmp = cur->next;
    free(cur);
    cur = tmp;
  }
+ conn->handlerlist = NULL;
 
  return 0;
 }
This page took 0.080272 seconds and 5 git commands to generate.