From 8b2a897e59663021a08b951886525c13e182ddf6 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sun, 12 Apr 2015 17:42:58 -0400 Subject: util.c: follow upstream's comments. --- src/shared/util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/shared/util.c b/src/shared/util.c index 3ae73b944b..e70984d36e 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -666,7 +666,8 @@ char *cescape(const char *s) { assert(s); - /* Does C style string escaping. */ + /* Does C style string escaping. May be reversed with + * cunescape(). */ r = new(char, strlen(s)*4 + 1); if (!r) @@ -686,7 +687,7 @@ char *xescape(const char *s, const char *bad) { /* Escapes all chars in bad, in addition to \ and all special * chars, in \xFF style escaping. May be reversed with - * cunescape. */ + * cunescape(). */ r = new(char, strlen(s) * 4 + 1); if (!r) -- cgit v1.2.3-54-g00ecf