From 6773d000e381651f00c8ffad74cf96e6d0647da9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 19 Apr 2009 19:02:16 +0200 Subject: util: if NULL is passed to pa_path_get_filename() just hand it through --- src/pulse/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulse/util.h') diff --git a/src/pulse/util.h b/src/pulse/util.h index f6dd40cb..ad85653d 100644 --- a/src/pulse/util.h +++ b/src/pulse/util.h @@ -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 */ -- cgit