diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2012-12-13 08:26:05 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2012-12-19 12:31:48 +0200 |
commit | 02d6aa648099ae701f1e48f44ab2da53e35d1c6a (patch) | |
tree | 6a11ba6e0b9655f992d4f18d27e1584920784f53 /src/pulsecore/core-util.c | |
parent | d3290e958b73c2b3fc89ce57a2aad33edca6cb7d (diff) |
core-util: Improve get_path() documentation
Diffstat (limited to 'src/pulsecore/core-util.c')
-rw-r--r-- | src/pulsecore/core-util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index 2685c7860..1f4fca1e7 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -2138,9 +2138,9 @@ char *pa_make_path_absolute(const char *p) { return r; } -/* if fn is null return the PulseAudio run time path in s (~/.pulse) - * if fn is non-null and starts with / return fn - * otherwise append fn to the run time path and return it */ +/* If fn is NULL, return the PulseAudio runtime or state dir (depending on the + * rt parameter). If fn is non-NULL and starts with /, return fn. Otherwise, + * append fn to the runtime/state dir and return it. */ static char *get_path(const char *fn, pa_bool_t prependmid, pa_bool_t rt) { char *rtp; |