Mercurial > pidgin.yaz
comparison libpurple/protocols/zephyr/zephyr.c @ 25635:efaecb71baad
propagate from branch 'im.pidgin.pidgin' (head 8ca6a80e2cd7fbbc59983f8ba370f7276e062db9)
to branch 'im.pidgin.pidgin.vv' (head 3ed39e8792f4a2e92ef5a3c7f4fb14251c9dae11)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 15 Mar 2008 07:39:15 +0000 |
parents | f5bcb58bdf56 c59489e56735 |
children | 92e71f6e10d4 |
comparison
equal
deleted
inserted
replaced
25634:741a702033e0 | 25635:efaecb71baad |
---|---|
2233 static char buf[BUF_LEN]; | 2233 static char buf[BUF_LEN]; |
2234 PurpleConnection *gc; | 2234 PurpleConnection *gc; |
2235 char *tmp; | 2235 char *tmp; |
2236 | 2236 |
2237 gc = purple_account_get_connection(account); | 2237 gc = purple_account_get_connection(account); |
2238 if (gc == NULL) | |
2239 return NULL; | |
2240 | |
2238 tmp = local_zephyr_normalize(gc->proto_data, who); | 2241 tmp = local_zephyr_normalize(gc->proto_data, who); |
2239 | 2242 |
2240 if (strlen(tmp) >= sizeof(buf)) { | 2243 if (strlen(tmp) >= sizeof(buf)) { |
2241 g_free(tmp); | 2244 g_free(tmp); |
2242 return NULL; | 2245 return NULL; |