libpurple/protocols/yahoo/yahoo_filexfer.c

branch
soc.2013.gobjectification.plugins
changeset 36782
64936dae41a3
parent 36688
e49025233301
parent 34955
854143116575
child 36910
7899f9edf4f1
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c	Sat Sep 21 01:33:16 2013 +0530
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c	Sat Sep 21 17:01:08 2013 +0530
@@ -896,7 +896,8 @@
 
 	if (!purple_http_response_is_successful(response)) {
 		purple_notify_error(yd->gc, NULL, _("File Transfer Failed"),
-			_("Unable to get file header."));
+			_("Unable to get file header."),
+			purple_request_cpar_from_connection(yd->gc));
 		purple_xfer_cancel_remote(xfer);
 		return;
 	}
@@ -974,7 +975,8 @@
 		if (!xfer_data->is_relay) {
 			purple_debug_error("yahoo", "Non-relay FT aren't tested yet.\n");
 			purple_notify_error(gc, NULL, _("File Transfer Failed"),
-				_("Unsupported method"));
+				_("Unsupported method"),
+				purple_request_cpar_from_connection(gc));
 			purple_xfer_cancel_remote(xfer);
 		}
 

mercurial