diff --git a/src/os/src/windows/wSemphone.c b/src/os/src/windows/wSemphone.c index e72a6cb0910d2246f6350014f74a6eb3a9e531fd..02e6247bba64a73516e0932313a60b8ab08ef6e4 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