util: if NULL is passed to pa_path_get_filename() just hand it through

This commit is contained in:
Lennart Poettering 2009-04-19 19:02:16 +02:00
parent b03a650160
commit 6773d000e3
2 changed files with 3 additions and 2 deletions

View file

@ -51,7 +51,7 @@ char *pa_get_home_dir(char *s, size_t l);
char *pa_get_binary_name(char *s, size_t l);
/** Return a pointer to the filename inside a path (which is the last
* component). */
* component). If passed NULL will return NULL. */
char *pa_path_get_filename(const char *p);
/** Wait t milliseconds */