comparison src/protocols/gg/gg.c @ 10816:c94f40ffcafb

[gaim-migrate @ 12471] rlaager reverted objectionable spacing changes committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 11 Apr 2005 15:26:51 +0000
parents d087e928ffd1
children f289e9f76053
comparison
equal deleted inserted replaced
10815:65c818fb218e 10816:c94f40ffcafb
1 /* 1 /*
2 * gaim - Gadu-Gadu Protocol Plugin 2 * gaim - Gadu-Gadu Protocol Plugin
3 * $Id: gg.c 12465 2005-04-11 04:32:26Z lschiere $ 3 * $Id: gg.c 12471 2005-04-11 15:26:51Z lschiere $
4 * 4 *
5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> 5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
1344 close(source); 1344 close(source);
1345 gaim_notify_error(gc, NULL, 1345 gaim_notify_error(gc, NULL,
1346 _("Error communicating with Gadu-Gadu server"), 1346 _("Error communicating with Gadu-Gadu server"),
1347 _("Gaim was unable to complete your request due " 1347 _("Gaim was unable to complete your request due "
1348 "to a problem communicating with the Gadu-Gadu " 1348 "to a problem communicating with the Gadu-Gadu "
1349 "HTTP server. Please try again later.")); 1349 "HTTP server. Please try again later."));
1350 return; 1350 return;
1351 } 1351 }
1352 1352
1353 g_free(buf); 1353 g_free(buf);
1354 1354
1373 1373
1374 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, hi) < 0) { 1374 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, hi) < 0) {
1375 gaim_notify_error(gc, NULL, 1375 gaim_notify_error(gc, NULL,
1376 _("Unable to import Gadu-Gadu buddy list"), 1376 _("Unable to import Gadu-Gadu buddy list"),
1377 _("Gaim was unable to connect to the Gadu-Gadu " 1377 _("Gaim was unable to connect to the Gadu-Gadu "
1378 "buddy list server. Please try again later.")); 1378 "buddy list server. Please try again later."));
1379 g_free(hi->request); 1379 g_free(hi->request);
1380 g_free(hi); 1380 g_free(hi);
1381 return; 1381 return;
1382 } 1382 }
1383 } 1383 }
1447 1447
1448 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, he) < 0) { 1448 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, he) < 0) {
1449 gaim_notify_error(gc, NULL, 1449 gaim_notify_error(gc, NULL,
1450 _("Couldn't export buddy list"), 1450 _("Couldn't export buddy list"),
1451 _("Gaim was unable to connect to the buddy " 1451 _("Gaim was unable to connect to the buddy "
1452 "list server. Please try again later.")); 1452 "list server. Please try again later."));
1453 g_free(he->request); 1453 g_free(he->request);
1454 g_free(he); 1454 g_free(he);
1455 return; 1455 return;
1456 } 1456 }
1457 } 1457 }
1470 1470
1471 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, he) < 0) { 1471 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, he) < 0) {
1472 gaim_notify_error(gc, NULL, 1472 gaim_notify_error(gc, NULL,
1473 _("Unable to delete Gadu-Gadu buddy list"), 1473 _("Unable to delete Gadu-Gadu buddy list"),
1474 _("Gaim was unable to connect to the buddy " 1474 _("Gaim was unable to connect to the buddy "
1475 "list server. Please try again later.")); 1475 "list server. Please try again later."));
1476 g_free(he->request); 1476 g_free(he->request);
1477 g_free(he); 1477 g_free(he);
1478 return; 1478 return;
1479 } 1479 }
1480 } 1480 }
1522 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, srch) < 0) { 1522 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, srch) < 0) {
1523 gaim_notify_error(gc, NULL, 1523 gaim_notify_error(gc, NULL,
1524 _("Unable to access directory"), 1524 _("Unable to access directory"),
1525 _("Gaim was unable to search the Directory " 1525 _("Gaim was unable to search the Directory "
1526 "because it was unable to connect to the " 1526 "because it was unable to connect to the "
1527 "directory server. Please try again later.")); 1527 "directory server. Please try again later."));
1528 g_free(srch->request); 1528 g_free(srch->request);
1529 g_free(srch); 1529 g_free(srch);
1530 return; 1530 return;
1531 } 1531 }
1532 } 1532 }
1557 if (gaim_proxy_connect(gc->account, GG_REGISTER_HOST, GG_REGISTER_PORT, http_req_callback, hpass) < 0) { 1557 if (gaim_proxy_connect(gc->account, GG_REGISTER_HOST, GG_REGISTER_PORT, http_req_callback, hpass) < 0) {
1558 gaim_notify_error(gc, NULL, 1558 gaim_notify_error(gc, NULL,
1559 _("Unable to change Gadu-Gadu password"), 1559 _("Unable to change Gadu-Gadu password"),
1560 _("Gaim was unable to change your password " 1560 _("Gaim was unable to change your password "
1561 "due to an error connecting to the " 1561 "due to an error connecting to the "
1562 "Gadu-Gadu server. Please try again " 1562 "Gadu-Gadu server. Please try again "
1563 "later.")); 1563 "later."));
1564 g_free(hpass->request); 1564 g_free(hpass->request);
1565 g_free(hpass); 1565 g_free(hpass);
1566 return; 1566 return;
1567 } 1567 }
1624 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, srch) < 0) { 1624 if (gaim_proxy_connect(gc->account, GG_PUBDIR_HOST, GG_PUBDIR_PORT, http_req_callback, srch) < 0) {
1625 gaim_notify_error(gc, NULL, 1625 gaim_notify_error(gc, NULL,
1626 _("Unable to access user profile."), 1626 _("Unable to access user profile."),
1627 _("Gaim was unable to access this user's " 1627 _("Gaim was unable to access this user's "
1628 "profile due to an error connecting to the " 1628 "profile due to an error connecting to the "
1629 "directory server. Please try again later.")); 1629 "directory server. Please try again later."));
1630 g_free(srch->request); 1630 g_free(srch->request);
1631 g_free(srch); 1631 g_free(srch);
1632 return; 1632 return;
1633 } 1633 }
1634 } 1634 }