mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08: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.
|
* Return 0 on success, an error code on failure.
|
||||||
*/
|
*/
|
||||||
err_t ppp_free(ppp_pcb *pcb) {
|
err_t ppp_free(ppp_pcb *pcb) {
|
||||||
int err;
|
err_t err;
|
||||||
if (pcb->phase != PPP_PHASE_DEAD) {
|
if (pcb->phase != PPP_PHASE_DEAD) {
|
||||||
return ERR_CONN;
|
return ERR_CONN;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user