diff src/protocols/yahoo/yahoo_filexfer.c @ 8231:f50c059b6384

[gaim-migrate @ 8954] This is Tim Ringenbach's patch to move some IP-related functions into the new gaim_network namespace, improve the local IP checking functionality by opening a socket, change some prefs, and add the ability to modify these prefs in the UI. Some ft.c bugs were fixed, and OSCAR, Jabber and Yahoo were updated to reflect the changes. The DCC SEND portion of this patch was not committed, as per his request (unless I misunderstood? :) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 12 Feb 2004 00:36:55 +0000
parents fa6395637e2c
children ab35a0bec13a
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_filexfer.c	Wed Feb 11 22:34:55 2004 +0000
+++ b/src/protocols/yahoo/yahoo_filexfer.c	Thu Feb 12 00:36:55 2004 +0000
@@ -247,7 +247,7 @@
 }
 
 
-size_t yahoo_xfer_read(char **buffer, GaimXfer *xfer)
+ssize_t yahoo_xfer_read(char **buffer, GaimXfer *xfer)
 {
 	gchar buf[4096];
 	ssize_t len;
@@ -308,7 +308,7 @@
 	return len;
 }
 
-size_t yahoo_xfer_write(const char *buffer, size_t size, GaimXfer *xfer)
+ssize_t yahoo_xfer_write(const char *buffer, size_t size, GaimXfer *xfer)
 {
 	ssize_t len;
 	struct yahoo_xfer_data *xd = xfer->data;