| 1111 char *g_screenname = get_screenname_filename(account->username); |
1111 char *g_screenname = get_screenname_filename(account->username); |
| 1112 char *file = gaim_user_dir(); |
1112 char *file = gaim_user_dir(); |
| 1113 int protocol = (account->protocol == GAIM_PROTO_OSCAR) ? (isalpha(account->username[0]) ? GAIM_PROTO_TOC : GAIM_PROTO_ICQ): account->protocol; |
1113 int protocol = (account->protocol == GAIM_PROTO_OSCAR) ? (isalpha(account->username[0]) ? GAIM_PROTO_TOC : GAIM_PROTO_ICQ): account->protocol; |
| 1114 |
1114 |
| 1115 if (file != (char *)NULL) { |
1115 if (file != (char *)NULL) { |
| 1116 sprintf(path, "%s" G_DIR_SEPARATOR_S "%s.%d.blist", file, g_screenname, protocol); |
1116 snprintf(path, PATHSIZE, "%s" G_DIR_SEPARATOR_S "%s.%d.blist", file, g_screenname, protocol); |
| 1117 g_free(g_screenname); |
1117 g_free(g_screenname); |
| 1118 } else { |
1118 } else { |
| 1119 g_free(g_screenname); |
1119 g_free(g_screenname); |
| 1120 return; |
1120 return; |
| 1121 } |
1121 } |