Remove a debug message
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
baeb4572ff
commit
e29d9510ed
|
@ -53,11 +53,8 @@ open_config_file(char *cpath, char **ppath) {
|
||||||
for (size_t i = 0; i < ARR_SIZE(config_paths); i++) {
|
for (size_t i = 0; i < ARR_SIZE(config_paths); i++) {
|
||||||
char *path = xdgConfigFind(config_paths[i], NULL);
|
char *path = xdgConfigFind(config_paths[i], NULL);
|
||||||
FILE *ret = fopen(path, "r");
|
FILE *ret = fopen(path, "r");
|
||||||
if (ret) {
|
if (ret && ppath) {
|
||||||
printf_errf("(): file is %s", path);
|
|
||||||
if (ppath) {
|
|
||||||
*ppath = strdup(path);
|
*ppath = strdup(path);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
free(path);
|
free(path);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in New Issue