mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
ppp_free: fixed type of local 'err'
This commit is contained in:
parent
e60bc69515
commit
53a96f69ef
@ -341,7 +341,7 @@ ppp_close(ppp_pcb *pcb, u8_t nocarrier)
|
||||
* Return 0 on success, an error code on failure.
|
||||
*/
|
||||
err_t ppp_free(ppp_pcb *pcb) {
|
||||
int err;
|
||||
err_t err;
|
||||
if (pcb->phase != PPP_PHASE_DEAD) {
|
||||
return ERR_CONN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user