mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +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;
|
return BAD_FUNC_ARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
XMEMSET(ctx->name, 0, MAX_FILENAME_SZ);
|
XMEMSET(ctx, 0, sizeof(ReadDirCtx));
|
||||||
pathLen = (int)XSTRLEN(path);
|
pathLen = (int)XSTRLEN(path);
|
||||||
|
|
||||||
#ifdef USE_WINDOWS_API
|
#ifdef USE_WINDOWS_API
|
||||||
|
Reference in New Issue
Block a user