Remove a debug message

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2018-12-16 00:52:37 +00:00
parent baeb4572ff
commit e29d9510ed
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 4 deletions

View File

@ -53,12 +53,9 @@ open_config_file(char *cpath, char **ppath) {
for (size_t i = 0; i < ARR_SIZE(config_paths); i++) {
char *path = xdgConfigFind(config_paths[i], NULL);
FILE *ret = fopen(path, "r");
if (ret) {
printf_errf("(): file is %s", path);
if (ppath) {
if (ret && ppath) {
*ppath = strdup(path);
}
}
free(path);
if (ret) {
return ret;