| 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; |