CodyCam: Use "%s" instead of printf'ing a buffer directly.
Fixes #16375.
This commit is contained in:
parent
f7362b6fd0
commit
21e213d3b0
@ -83,7 +83,7 @@ FtpClient::ListDirContents(string& listing)
|
||||
memset(buf, 0, sizeof(buf));
|
||||
numRead = fData->Receive(buf, sizeof(buf) - 1);
|
||||
listing += buf;
|
||||
printf(buf);
|
||||
printf("%s", buf);
|
||||
}
|
||||
if (_GetReply(replyString, code, codeType)) {
|
||||
if (codeType <= 2)
|
||||
|
Loading…
Reference in New Issue
Block a user