Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
8230:4e354776ae2a | 8231:f50c059b6384 |
---|---|
245 } | 245 } |
246 return 0; | 246 return 0; |
247 } | 247 } |
248 | 248 |
249 | 249 |
250 size_t yahoo_xfer_read(char **buffer, GaimXfer *xfer) | 250 ssize_t yahoo_xfer_read(char **buffer, GaimXfer *xfer) |
251 { | 251 { |
252 gchar buf[4096]; | 252 gchar buf[4096]; |
253 ssize_t len; | 253 ssize_t len; |
254 gchar *start = NULL; | 254 gchar *start = NULL; |
255 gchar *length; | 255 gchar *length; |
306 } | 306 } |
307 | 307 |
308 return len; | 308 return len; |
309 } | 309 } |
310 | 310 |
311 size_t yahoo_xfer_write(const char *buffer, size_t size, GaimXfer *xfer) | 311 ssize_t yahoo_xfer_write(const char *buffer, size_t size, GaimXfer *xfer) |
312 { | 312 { |
313 ssize_t len; | 313 ssize_t len; |
314 struct yahoo_xfer_data *xd = xfer->data; | 314 struct yahoo_xfer_data *xd = xfer->data; |
315 | 315 |
316 if (!xd) | 316 if (!xd) |