mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
INTIME: whitespace fixup and zero context in wc_ReadDirFirst
This commit is contained in:
@ -431,7 +431,7 @@ int wc_ReadDirFirst(ReadDirCtx* ctx, const char* path, char** name)
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
|
||||
XMEMSET(ctx->name, 0, MAX_FILENAME_SZ);
|
||||
XMEMSET(ctx, 0, sizeof(ReadDirCtx));
|
||||
pathLen = (int)XSTRLEN(path);
|
||||
|
||||
#ifdef USE_WINDOWS_API
|
||||
|
Reference in New Issue
Block a user