tcpTest continued
This commit is contained in:
parent
2ba8eebd97
commit
3654ebb36e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user