From 5a8f21cb88e7579c12b3d97299f355bb64957a87 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 2 Nov 2009 16:39:31 +1100 Subject: lib/util Fix comments in rfc1738.c. The Samba version does not use static buffers Andrew Bartlett --- lib/util/rfc1738.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/util/rfc1738.c b/lib/util/rfc1738.c index 1de319349f..b45310a34b 100644 --- a/lib/util/rfc1738.c +++ b/lib/util/rfc1738.c @@ -158,7 +158,7 @@ rfc1738_do_escape(TALLOC_CTX *mem_ctx, const char *url, int encode_reserved) } /* - * rfc1738_escape - Returns a static buffer that contains the RFC + * rfc1738_escape - Returns a buffer that contains the RFC * 1738 compliant, escaped version of the given url. (escapes unsafe and % characters) */ char * @@ -168,7 +168,7 @@ rfc1738_escape(TALLOC_CTX *mem_ctx, const char *url) } /* - * rfc1738_escape_unescaped - Returns a static buffer that contains + * rfc1738_escape_unescaped - Returns a buffer that contains * the RFC 1738 compliant, escaped version of the given url (escapes unsafe chars only) */ char * @@ -178,7 +178,7 @@ rfc1738_escape_unescaped(TALLOC_CTX *mem_ctx, const char *url) } /* - * rfc1738_escape_part - Returns a static buffer that contains the RFC + * rfc1738_escape_part - Returns a buffer that contains the RFC * 1738 compliant, escaped version of the given url segment. (escapes * unsafe, reserved and % chars) It would mangle the :// in http://, * and mangle paths (because of /). -- cgit