aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 18:21:52 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 18:21:52 +0100
commit3002fd18cb6a1e0690ea969e2560373be158526e (patch)
treefe1ca7814f1f48cde4feda191e58aca85666cf62 /src/database.c
parent259c6ed1642cd6cc0e5cb8bfcfdeed93150b2e99 (diff)
downloadmpd-3002fd18cb6a1e0690ea969e2560373be158526e.tar.gz
mpd-3002fd18cb6a1e0690ea969e2560373be158526e.tar.xz
mpd-3002fd18cb6a1e0690ea969e2560373be158526e.zip
path: no CamelCase
Rename variables and functions.
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index 2fd61dd08..4010955b7 100644
--- a/src/database.c
+++ b/src/database.c
@@ -230,7 +230,7 @@ db_save(void)
/* block signals when writing the db so we don't get a corrupted db */
fprintf(fp, "%s\n", DIRECTORY_INFO_BEGIN);
fprintf(fp, "%s%s\n", DIRECTORY_MPD_VERSION, VERSION);
- fprintf(fp, "%s%s\n", DIRECTORY_FS_CHARSET, getFsCharset());
+ fprintf(fp, "%s%s\n", DIRECTORY_FS_CHARSET, path_get_fs_charset());
fprintf(fp, "%s\n", DIRECTORY_INFO_END);
if (directory_save(fp, music_root) < 0) {
@@ -302,7 +302,7 @@ db_load(void)
fsCharset, tempCharset);
WARNING("maybe you need to "
"recreate the db?\n");
- setFsCharset(fsCharset);
+ path_set_fs_charset(fsCharset);
}
} else
FATAL("directory: unknown line in db info: %s\n",