]> andersk Git - libfaim.git/commitdiff
- Thu Aug 17 14:04:18 UTC 2000
authormid <mid>
Thu, 17 Aug 2000 14:12:07 +0000 (14:12 +0000)
committermid <mid>
Thu, 17 Aug 2000 14:12:07 +0000 (14:12 +0000)
   - Fix the fd closing bug introduced last week

CHANGES
Makefile
aim_conn.c

diff --git a/CHANGES b/CHANGES
index 2ae595f3cba7afcf0e62962546b1ebcbd7650f9b..9b2faf336b2d9f810951e14cf2a3bea74598b6af 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
 
 No release numbers
 ------------------
+ - Thu Aug 17 14:04:18 UTC 2000
+   - Fix the fd closing bug introduced last week
+
  - Tue Aug  8 04:25:35 UTC 2000
    - Preserve subtype and priv after aim_conn_close
 
index fec585bb4189d9d8520f1ee8b812d07797ac27de..0bae614a3c2088526a820c4555e7fdfe2960131e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,4 +55,4 @@ cleanutils:
        $(MAKE) clean
 
 clean: cleanutils
-       rm -f $(LIBFAIM_OBJECTS) $(SONAME) libfaim.a *~ core
+       rm -f $(LIBFAIM_OBJECTS) $(SONAME) libfaim.a *~ core
\ No newline at end of file
index a815e332aa621bbafc234e7c8254fcb80746ed8e..f31fb8ab23e663ab7a36b9e0345d7ab16c837997 100644 (file)
@@ -102,7 +102,9 @@ void aim_conn_kill(struct aim_session_t *sess, struct aim_conn_t **deadconn)
   /* XXX: do we need this for txqueue too? */
   aim_rxqueue_cleanbyconn(sess, *deadconn);
 
-  aim_conn_init(*deadconn);
+  aim_conn_close(*deadconn);
+  if ((*deadconn)->priv)
+    free((*deadconn)->priv);
   free(*deadconn);
   deadconn = NULL;
 
This page took 0.059795 seconds and 5 git commands to generate.