changeset 711:b967d21d7482

[gaim-migrate @ 721] hm de hm hm committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 17 Aug 2000 14:18:31 +0000
parents efd72a117875
children 5474a8945afb
files libfaim/README.gaim libfaim/aim_conn.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libfaim/README.gaim	Thu Aug 17 13:07:52 2000 +0000
+++ b/libfaim/README.gaim	Thu Aug 17 14:18:31 2000 +0000
@@ -15,7 +15,6 @@
 - remove mkbuildinfo.sh and put the #defines it creates into Makefile.am
 - fix a typo in aim.h - "aim_directim_initiate", not "aim_directim_intiate"
 - add #if HAVE_GETADDRINFO in aim_ft.c for Solaris people
-- aim_conn_kill wasn't close()'ing connections, so I added that
 
 And finally, a word of warning. Gaim/Faim is VERY buggy. Please, don't use this
 for anything other than laughs right now. Hopefully we'll get it working better
--- a/libfaim/aim_conn.c	Thu Aug 17 13:07:52 2000 +0000
+++ b/libfaim/aim_conn.c	Thu Aug 17 14:18:31 2000 +0000
@@ -102,8 +102,9 @@
   /* XXX: do we need this for txqueue too? */
   aim_rxqueue_cleanbyconn(sess, *deadconn);
 
-  close((*deadconn)->fd);
-  aim_conn_init(*deadconn);
+  aim_conn_close(*deadconn);
+  if ((*deadconn)->priv)
+    free((*deadconn)->priv);
   free(*deadconn);
   deadconn = NULL;