summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-11-02 16:39:31 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-11-04 14:58:24 +1100
commit5a8f21cb88e7579c12b3d97299f355bb64957a87 (patch)
treee32306496ddac5ffc8a12bd7e03c483624d7a490
parentccdd1462cc8d7e5e067b5f3d6122ee8765921b4f (diff)
downloadsamba-5a8f21cb88e7579c12b3d97299f355bb64957a87.tar.gz
samba-5a8f21cb88e7579c12b3d97299f355bb64957a87.tar.bz2
samba-5a8f21cb88e7579c12b3d97299f355bb64957a87.zip
lib/util Fix comments in rfc1738.c.
The Samba version does not use static buffers Andrew Bartlett
-rw-r--r--lib/util/rfc1738.c6
1 files 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 /).