Mercurial > pidgin.yaz
comparison libpurple/protocols/silc10/buddy.c @ 23056:d74ff4f23171
applied changes from 7f7111ed9e5924db9e740ad354fce8fb82445b1e
through 7d9bc7a7d232a2b83e7923d0d5d20be09ed1fc5c
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 26 Jun 2008 01:18:05 +0000 |
parents | 665e04562de0 |
children | 071414f413a4 cc1e35fa774d |
comparison
equal
deleted
inserted
replaced
23055:6609b82b999d | 23056:d74ff4f23171 |
---|---|
1432 } | 1432 } |
1433 | 1433 |
1434 void silcpurple_idle_set(PurpleConnection *gc, int idle) | 1434 void silcpurple_idle_set(PurpleConnection *gc, int idle) |
1435 | 1435 |
1436 { | 1436 { |
1437 SilcPurple sg = gc->proto_data; | 1437 SilcPurple sg; |
1438 SilcClient client = sg->client; | 1438 SilcClient client; |
1439 SilcClientConnection conn = sg->conn; | 1439 SilcClientConnection conn; |
1440 SilcAttributeObjService service; | 1440 SilcAttributeObjService service; |
1441 const char *server; | 1441 const char *server; |
1442 int port; | 1442 int port; |
1443 | |
1444 sg = gc->proto_data; | |
1445 if (sg == NULL) | |
1446 return; | |
1447 | |
1448 client = sg->client; | |
1449 if (client == NULL) | |
1450 return; | |
1451 | |
1452 conn = sg->conn; | |
1453 if (conn == NULL) | |
1454 return; | |
1443 | 1455 |
1444 server = purple_account_get_string(sg->account, "server", | 1456 server = purple_account_get_string(sg->account, "server", |
1445 "silc.silcnet.org"); | 1457 "silc.silcnet.org"); |
1446 port = purple_account_get_int(sg->account, "port", 706), | 1458 port = purple_account_get_int(sg->account, "port", 706), |
1447 | 1459 |