DRV - bug fixing for driver HTTP plugin driver list.

This commit is contained in:
valeklubomir
2022-10-20 20:27:54 +02:00
parent 55e61118c2
commit 0ba61a7a81
2 changed files with 2 additions and 0 deletions

View File

@@ -429,6 +429,7 @@ int hprintf255(http_request_t* request, const char* fmt, ...) {
va_list argList;
//BaseType_t taken;
char tmp[256];
memset(tmp, 0, 256);
va_start(argList, fmt);
vsnprintf(tmp, 255, fmt, argList);
va_end(argList);