mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-07 15:04:39 +08:00
PPP, assert if ppp_fatal() is called
This commit is contained in:
parent
091c6a3bda
commit
341f0bf9e3
@ -636,10 +636,7 @@ void ppp_fatal(const char *fmt, ...) {
|
|||||||
ppp_logit(LOG_ERR, fmt, pvar);
|
ppp_logit(LOG_ERR, fmt, pvar);
|
||||||
va_end(pvar);
|
va_end(pvar);
|
||||||
|
|
||||||
/* FIXME: find a way to die */
|
LWIP_ASSERT("ppp_fatal", 0); /* as promised */
|
||||||
#if 0
|
|
||||||
die(1); /* as promised */
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user