diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/userpref.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/common/userpref.c b/common/userpref.c index 760eb58..23fe583 100644 --- a/common/userpref.c +++ b/common/userpref.c @@ -202,9 +202,9 @@ static const char *userpref_get_config_dir()  #endif  	if (use_dot_config) -		__config_dir = string_concat(base_config_dir, DIR_SEP_S, ".config", DIR_SEP_S, LIBIMOBILEDEVICE_CONF_DIR); +		__config_dir = string_concat(base_config_dir, DIR_SEP_S, ".config", DIR_SEP_S, LIBIMOBILEDEVICE_CONF_DIR, NULL);  	else -		__config_dir = string_concat(base_config_dir, DIR_SEP_S, LIBIMOBILEDEVICE_CONF_DIR); +		__config_dir = string_concat(base_config_dir, DIR_SEP_S, LIBIMOBILEDEVICE_CONF_DIR, NULL);  	if (__config_dir) {  		int i = strlen(__config_dir)-1;	 | 
