mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 09:33:44 +08:00
PPP, assert if ppp_fatal() is called
This commit is contained in:
@@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user