lib/util Fix comments in rfc1738.c.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 2 Nov 2009 05:39:31 +0000 (16:39 +1100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:43 +0000 (11:40 +0100)
The Samba version does not use static buffers

Andrew Bartlett
(cherry picked from commit 5a8f21cb88e7579c12b3d97299f355bb64957a87)
(cherry picked from commit 0f4674c62cb5ed651221a06f05fe3985351e92db)

lib/util/rfc1738.c

index 1de319349f59af7ea53acb3b5a8e6bf506f38e18..b45310a34b774782324d3187534d837305301528 100644 (file)
@@ -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 /).