From 3caf1ffc046e14c72dbd457f707fcf73b674a8fa Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Tue, 13 Oct 2020 11:53:16 +0800 Subject: [PATCH] [td-225] --- src/os/src/windows/wSemphone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/src/windows/wSemphone.c b/src/os/src/windows/wSemphone.c index e72a6cb091..02e6247bba 100644 --- a/src/os/src/windows/wSemphone.c +++ b/src/os/src/windows/wSemphone.c @@ -49,6 +49,6 @@ int32_t taosGetCurrentAPPName(char *name, int32_t* len) { strcpy(name, filepath); if (len != NULL) { - len = strlen(filepath); + *len = strlen(filepath); } } \ No newline at end of file -- GitLab