mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
got rid of multiline comment
This commit is contained in:
1 parent
77db89961b
commit
65f484291f
1 file changed
+1
-1
+1
-1
@@ -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';
|
||||
|
||||
|
||||
Reference in new issue
Block a user