Mercurial > pidgin
comparison src/protocols/yahoo/yahoo_filexfer.c @ 10361:f57369469684
[gaim-migrate @ 11579]
if (0) this out in HEAD too until i figure out the real limit,
or maybe just handle the errors yahoo sends us.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Mon, 13 Dec 2004 23:03:06 +0000 |
parents | d4e9ff2edc4e |
children | a8f9e5ce4f92 |
comparison
equal
deleted
inserted
replaced
10360:c5c5c3206fd0 | 10361:f57369469684 |
---|---|
163 gc = xfer_data->gc; | 163 gc = xfer_data->gc; |
164 yd = gc->proto_data; | 164 yd = gc->proto_data; |
165 account = gaim_connection_get_account(gc); | 165 account = gaim_connection_get_account(gc); |
166 | 166 |
167 if (gaim_xfer_get_type(xfer) == GAIM_XFER_SEND) { | 167 if (gaim_xfer_get_type(xfer) == GAIM_XFER_SEND) { |
168 if (gaim_xfer_get_size(xfer) >= 1048577) { | 168 if (0 && gaim_xfer_get_size(xfer) >= 1048577) { |
169 gaim_notify_error(gc, NULL, _("File Transfer Aborted"), | 169 gaim_notify_error(gc, NULL, _("File Transfer Aborted"), |
170 _("Gaim cannot send files over Yahoo! that are bigger than " | 170 _("Gaim cannot send files over Yahoo! that are bigger than " |
171 "One Megabyte (1,048,576 bytes).")); | 171 "One Megabyte (1,048,576 bytes).")); |
172 gaim_xfer_cancel_local(xfer); | 172 gaim_xfer_cancel_local(xfer); |
173 } else { | 173 } else { |