Skip to content
Myr

logs: warn when no apps are found.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Mark Stosberg · committed by Mark Stosberg · parent 376abbe · Browse files · 1 file+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:xdg.c+4 added-2 removed
700 unmodified lines
701 }702703 mtx_lock(&applications->lock);704 applications->count = tll_length(apps);705 if (applications->count > 0)705 if (applications->count > 0) {706 applications->v = xmalloc(tll_length(apps) * sizeof(applications->v[0]));707 else707 } else {708 LOG_WARN("No applications found. See SEARCH PATHS in `man fuzzel` for details.");709 applications->v = NULL;710 }711712 size_t i = 0;713 tll_foreach(apps, it) {714 applications->v[i++] = it->item;
152 unmodified lines