diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-24 09:37:00 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-24 09:37:00 +0000 |
commit | 21fb7010272990c1f9a9e0fdd09e3bae48855a12 (patch) | |
tree | 5223b78ddb35f19583fa3dc4a33848d5f283e969 /src/pop.c | |
parent | 1e2e2b3010c8474ef0b5d93b7c20af5eead5c31d (diff) |
also migrate sylpheedrc.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@37 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/pop.c')
-rw-r--r-- | src/pop.c | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -21,6 +21,8 @@ # include "config.h" #endif +#include "defs.h" + #include <glib.h> #include <stdio.h> #include <string.h> @@ -454,19 +456,12 @@ GHashTable *pop3_get_uidl_table(PrefsAccount *ac_prefs) table = g_hash_table_new(g_str_hash, g_str_equal); path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, - "uidl", G_DIR_SEPARATOR_S, ac_prefs->recv_server, + UIDL_DIR, G_DIR_SEPARATOR_S, ac_prefs->recv_server, "-", ac_prefs->userid, NULL); if ((fp = fopen(path, "rb")) == NULL) { if (ENOENT != errno) FILE_OP_ERROR(path, "fopen"); g_free(path); - path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, - "uidl-", ac_prefs->recv_server, - "-", ac_prefs->userid, NULL); - if ((fp = fopen(path, "rb")) == NULL) { - if (ENOENT != errno) FILE_OP_ERROR(path, "fopen"); - g_free(path); - return table; - } + return table; } g_free(path); |