Fixed compilation errors

This commit is contained in:
goldsimon 2010-04-02 16:48:53 +00:00
parent a96fa7d221
commit f1bc73c3ed

View File

@ -1669,8 +1669,8 @@ pppInput(void *arg)
PPPDEBUG(LOG_WARNING, ("pppInput[%d]: Dropping VJ uncompressed\n", pd)); PPPDEBUG(LOG_WARNING, ("pppInput[%d]: Dropping VJ uncompressed\n", pd));
#else /* PPPOS_SUPPORT && VJ_SUPPORT */ #else /* PPPOS_SUPPORT && VJ_SUPPORT */
/* No handler for this protocol so drop the packet. */ /* No handler for this protocol so drop the packet. */
PPPDEBUG((LOG_INFO, PPPDEBUG(LOG_INFO,
"pppInput[%d]: drop VJ UnComp in %d:.*H\n", ("pppInput[%d]: drop VJ UnComp in %d:.*H\n",
pd, nb->len, LWIP_MIN(nb->len * 2, 40), nb->payload)); pd, nb->len, LWIP_MIN(nb->len * 2, 40), nb->payload));
#endif /* PPPOS_SUPPORT && VJ_SUPPORT */ #endif /* PPPOS_SUPPORT && VJ_SUPPORT */
break; break;
@ -1893,9 +1893,9 @@ pppInProc(PPPControlRx *pcrx, u_char *s, int l)
} }
#if 0 #if 0
else { else {
PPPDEBUG((LOG_WARNING, PPPDEBUG(LOG_WARNING,
"pppInProc[%d]: Invalid control <%d>\n", pcrx->pd, curChar)); ("pppInProc[%d]: Invalid control <%d>\n", pcrx->pd, curChar));
pcrx->inState = PDSTART; pcrx->inState = PDSTART;
} }
#endif #endif
case PDPROTOCOL1: /* Process protocol field 1. */ case PDPROTOCOL1: /* Process protocol field 1. */