Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnobori <da.git@softether.co.jp>2021-08-15 19:13:46 +0300
committerdnobori <da.git@softether.co.jp>2021-08-15 19:13:46 +0300
commit005285bf4326276fc58aa2a03b90f8020302638f (patch)
tree1d8aa745f8ffab99dbb7fcb05566e03dff2733c6 /src/Mayaqua/Kernel.c
parentddc99f085fd6c54feaf4e41912bc8ab5903bdf8e (diff)
v4.37-9758-betav4.37-9758-beta
Diffstat (limited to 'src/Mayaqua/Kernel.c')
-rw-r--r--src/Mayaqua/Kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mayaqua/Kernel.c b/src/Mayaqua/Kernel.c
index 28dd4b6e..2edc142e 100644
--- a/src/Mayaqua/Kernel.c
+++ b/src/Mayaqua/Kernel.c
@@ -566,7 +566,7 @@ void GetHomeDir(char *path, UINT size)
if (GetEnv("HOMEDRIVE", drive, sizeof(drive)) &&
GetEnv("HOMEPATH", hpath, sizeof(hpath)))
{
- Format(path, sizeof(path), "%s%s", drive, hpath);
+ Format(path, size, "%s%s", drive, hpath);
}
else
{