From 65f484291fa979a2f51052503f919ff8f974408f Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Mon, 3 Mar 2014 09:45:00 +0000 Subject: [PATCH] got rid of multiline comment --- mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index 9d15bef79..1743b2a6b 100644 --- a/mongoose.c +++ b/mongoose.c @@ -1277,7 +1277,7 @@ static void to_wchar(const char *path, wchar_t *wbuf, size_t wbuf_len) { strncpy(buf, path, sizeof(buf)); buf[sizeof(buf) - 1] = '\0'; - // Trim trailing slashes. Leave backslash for paths like X:\ + // Trim trailing slashes. Leave backslash for paths like "X:\" p = buf + strlen(buf) - 1; while (p > buf && p[-1] != ':' && (p[0] == '\\' || p[0] == '/')) *p-- = '\0'; -- GitLab