mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Removed debug statement
This commit is contained in:
1 parent
022c9f0d47
commit
44a35bb5bf
1 file changed
+1
-2
+1
-2
@@ -323,7 +323,7 @@ static int my_argc;
|
|||||||
static char **my_argv;
|
static char **my_argv;
|
||||||
|
|
||||||
static void to_utf8(wchar_t *src, char *dst, size_t dst_len) {
|
static void to_utf8(wchar_t *src, char *dst, size_t dst_len) {
|
||||||
WideCharToMultiByte(CP_UTF8, 0, src, wcslen(src) + 1, dst, dst_len, 0, 0);
|
WideCharToMultiByte(CP_UTF8, 0, src, -1, dst, dst_len, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void init_utf8_argc_argv(void) {
|
static void init_utf8_argc_argv(void) {
|
||||||
@@ -336,7 +336,6 @@ static void init_utf8_argc_argv(void) {
|
|||||||
for (i = 0; i < my_argc; i++) {
|
for (i = 0; i < my_argc; i++) {
|
||||||
to_utf8(wargv[i], buf, sizeof(buf));
|
to_utf8(wargv[i], buf, sizeof(buf));
|
||||||
my_argv[i] = strdup(buf);
|
my_argv[i] = strdup(buf);
|
||||||
printf("init_utf8_argc_argv: [%s] [%ls]\n", my_argv[i], wargv[i]);
|
|
||||||
}
|
}
|
||||||
LocalFree(wargv);
|
LocalFree(wargv);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user