aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-29 18:38:44 +0000
committerKalle Wallin <kaw@linux.se>2004-03-29 18:38:44 +0000
commit452dde67513ccaef8bc69321ee5e2e0f12ed29c1 (patch)
tree507d03e31fffdff8c5546fb6b44a8d5d6ae4919e /conf.c
parent8c7736fc1ad24bafcc178e4363cc49a1c4e57494 (diff)
downloadmpd-452dde67513ccaef8bc69321ee5e2e0f12ed29c1.tar.gz
mpd-452dde67513ccaef8bc69321ee5e2e0f12ed29c1.tar.xz
mpd-452dde67513ccaef8bc69321ee5e2e0f12ed29c1.zip
Call g_build_filename() the correct way.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@542 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 3e8179d1f..5969c85ba 100644
--- a/conf.c
+++ b/conf.c
@@ -97,7 +97,7 @@ read_rc_file(char *filename, options_t *options)
if( filename==NULL )
{
- filename = g_build_filename(g_get_home_dir(), RCFILE);
+ filename = g_build_filename(g_get_home_dir(), RCFILE, NULL);
free_filename = 1;
}