From 34a55d15d18b27d7de518cbf638875dd19f9be31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 30 Jan 2010 17:36:14 +0200 Subject: [PATCH] Fix make_URI documentation --- src/text/strings.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/text/strings.c b/src/text/strings.c index 153ff841c5..f136a595c6 100644 --- a/src/text/strings.c +++ b/src/text/strings.c @@ -1047,7 +1047,11 @@ void path_sanitize( char *str ) #include /** - * Convert a file path to an URI. If already an URI, do nothing. + * Convert a file path to an URI. + * If already an URI, return a copy of the string. + * @path path path to convert (or URI to copy) + * @return a nul-terminated URI string (use free() to release it), + * or NULL in case of error */ char *make_URI (const char *path) { -- 2.39.5