diff src/protocols/oscar/chat.c @ 10271:361c9170d8af

[gaim-migrate @ 11420] This is a better way to do the aim logout thing. I don't know why I did it the other way. That's a lie, I know why. It's because I'm dumb. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 27 Nov 2004 16:09:31 +0000
parents 9cafe038c95e
children ecc0f22db510
line wrap: on
line diff
--- a/src/protocols/oscar/chat.c	Sat Nov 27 16:06:27 2004 +0000
+++ b/src/protocols/oscar/chat.c	Sat Nov 27 16:09:31 2004 +0000
@@ -4,7 +4,7 @@
  */
 
 #define FAIM_INTERNAL
-#include <aim.h> 
+#include <aim.h>
 
 #include <string.h>
 
@@ -107,7 +107,7 @@
 	if (!(conn = aim_chat_getconn(sess, name)))
 		return -ENOENT;
 
-	aim_conn_close(sess, conn);
+	aim_conn_close(conn);
 
 	return 0;
 }