mirror of https://github.com/wolfSSL/wolfssh.git
Merge pull request #484 from ejohnstown/release-cleanup2
Release Cleanup 2pull/376/head v1.4.12-stable
commit
834a03ce84
|
@ -2762,7 +2762,6 @@ static int wolfSSH_SFTPNAME_readdir(WOLFSSH* ssh, WDIR* dir, WS_SFTPNAME* out,
|
||||||
{
|
{
|
||||||
char* buf;
|
char* buf;
|
||||||
int bufSz;
|
int bufSz;
|
||||||
int tmpSz;
|
|
||||||
|
|
||||||
bufSz = out->fSz + (int)WSTRLEN(dirName) + 2; /* /+nul */
|
bufSz = out->fSz + (int)WSTRLEN(dirName) + 2; /* /+nul */
|
||||||
buf = (char*)WMALLOC(bufSz, out->heap, DYNTYPE_SFTP);
|
buf = (char*)WMALLOC(bufSz, out->heap, DYNTYPE_SFTP);
|
||||||
|
|
Loading…
Reference in New Issue