mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 15:16:03 +00:00
Minor changes (tabs)
This commit is contained in:
parent
22f51f953b
commit
3f96a15fd4
@ -153,7 +153,7 @@ callback function.
|
|||||||
|
|
||||||
- void tcp_sent(struct tcp_pcb *pcb,
|
- void tcp_sent(struct tcp_pcb *pcb,
|
||||||
err_t (* sent)(void *arg, struct tcp_pcb *tpcb,
|
err_t (* sent)(void *arg, struct tcp_pcb *tpcb,
|
||||||
u16_t len))
|
u16_t len))
|
||||||
|
|
||||||
Specifies the callback function that should be called when data has
|
Specifies the callback function that should be called when data has
|
||||||
successfully been received (i.e., acknowledged) by the remote
|
successfully been received (i.e., acknowledged) by the remote
|
||||||
@ -227,7 +227,7 @@ connection are when there is a shortage of memory. The callback
|
|||||||
function to be called is set using the tcp_err() function.
|
function to be called is set using the tcp_err() function.
|
||||||
|
|
||||||
- void tcp_err(struct tcp_pcb *pcb, void (* err)(void *arg,
|
- void tcp_err(struct tcp_pcb *pcb, void (* err)(void *arg,
|
||||||
err_t err))
|
err_t err))
|
||||||
|
|
||||||
The error callback function does not get the pcb passed to it as a
|
The error callback function does not get the pcb passed to it as a
|
||||||
parameter since the pcb may already have been deallocated.
|
parameter since the pcb may already have been deallocated.
|
||||||
|
@ -357,7 +357,7 @@ auth_peer_success(int unit, u16_t protocol, char *name, int namelen)
|
|||||||
*/
|
*/
|
||||||
if (namelen > sizeof(peer_authname) - 1) {
|
if (namelen > sizeof(peer_authname) - 1) {
|
||||||
namelen = sizeof(peer_authname) - 1;
|
namelen = sizeof(peer_authname) - 1;
|
||||||
}
|
}
|
||||||
BCOPY(name, peer_authname, namelen);
|
BCOPY(name, peer_authname, namelen);
|
||||||
peer_authname[namelen] = 0;
|
peer_authname[namelen] = 0;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
* 03-01-01 Marc Boucher <marc@mbsi.ca>
|
* 03-01-01 Marc Boucher <marc@mbsi.ca>
|
||||||
* Ported to lwIP.
|
* Ported to lwIP.
|
||||||
* 97-12-04 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
|
* 97-12-04 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
|
||||||
* Original based on BSD magic.c.
|
* Original based on BSD magic.c.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*
|
/*
|
||||||
* magic.c - PPP Magic Number routines.
|
* magic.c - PPP Magic Number routines.
|
||||||
|
Loading…
Reference in New Issue
Block a user