diff src/protocols/yahoo/yahoo_filexfer.c @ 10392:a8f9e5ce4f92

[gaim-migrate @ 11620] a little bit of clean up and reorganization of the yahoo prpl. I moved the packet functions to their own file, renamed a couple of them, added a convience function and used it a lot. I plan on adding several more convience functions. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 16 Dec 2004 21:47:54 +0000
parents f57369469684
children 45a0a07e8b25
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_filexfer.c	Thu Dec 16 15:36:49 2004 +0000
+++ b/src/protocols/yahoo/yahoo_filexfer.c	Thu Dec 16 21:47:54 2004 +0000
@@ -28,6 +28,7 @@
 #include "proxy.h"
 #include "ft.h"
 #include "yahoo.h"
+#include "yahoo_packet.h"
 #include "yahoo_filexfer.h"
 
 
@@ -141,7 +142,7 @@
 			       buf);
 	write(xfer->fd, post, strlen(post));
 
-	yahoo_send_packet_special(xfer->fd, pkt, 8);
+	yahoo_packet_send_special(pkt, xfer->fd, 8);
 	yahoo_packet_free(pkt);
 
 	write(xfer->fd, "29\xc0\x80", 4);