mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Compile fix lwiperf.c after my last change
This commit is contained in:
parent
24ebf6bd6f
commit
ce370ec48f
@ -587,10 +587,13 @@ lwiperf_start_tcp_server(const ip_addr_t* local_addr, u16_t local_port,
|
||||
{
|
||||
err_t err;
|
||||
struct tcp_pcb* pcb;
|
||||
lwiperf_state_tcp_t* s;
|
||||
|
||||
if(local_addr == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
lwiperf_state_tcp_t* s = (lwiperf_state_tcp_t*)LWIPERF_ALLOC(lwiperf_state_tcp_t);
|
||||
|
||||
s = (lwiperf_state_tcp_t*)LWIPERF_ALLOC(lwiperf_state_tcp_t);
|
||||
if (s == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user