tcpTest continued

This commit is contained in:
Wolfgang Hottgenroth 2020-11-11 18:38:38 +01:00
parent 2ba8eebd97
commit 3654ebb36e
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -81,7 +81,7 @@ void tcpTestHandler(void *handle) {
coloredMsg(LOG_YELLOW, "tth, getSn_RxMAX returns %d", s);
if (s > 0) {
uint8_t buf = (uint8_t*) malloc(s);
uint8_t *buf = (uint8_t*) malloc(s);
res32 = recv(TCPTEST_SOCK, buf, s);
coloredMsg(LOG_YELLOW, "tth, recv returns 0x%02x", res32);
if (res32 > 0) {