Revision 2286 libsylph/imap.c
| imap.c (revision 2286) | ||
|---|---|---|
| 1194 | 1194 |
{
|
| 1195 | 1195 |
gchar *path, *filename; |
| 1196 | 1196 |
IMAPSession *session; |
| 1197 |
gchar nstr[16]; |
|
| 1197 | 1198 |
gint ok; |
| 1198 | 1199 |
|
| 1199 | 1200 |
g_return_val_if_fail(folder != NULL, NULL); |
| ... | ... | |
| 1202 | 1203 |
path = folder_item_get_path(item); |
| 1203 | 1204 |
if (!is_dir_exist(path)) |
| 1204 | 1205 |
make_dir_hier(path); |
| 1205 |
filename = g_strconcat(path, G_DIR_SEPARATOR_S, itos(uid), NULL); |
|
| 1206 |
filename = g_strconcat(path, G_DIR_SEPARATOR_S, itos_buf(nstr, uid), |
|
| 1207 |
NULL); |
|
| 1206 | 1208 |
g_free(path); |
| 1207 | 1209 |
|
| 1208 | 1210 |
if (is_file_exist(filename)) {
|
Also available in: Unified diff