Minor changes (tabs)

This commit is contained in:
fbernon 2007-12-03 21:44:51 +00:00
parent 22f51f953b
commit 3f96a15fd4
3 changed files with 4 additions and 4 deletions

View File

@ -153,7 +153,7 @@ callback function.
- void tcp_sent(struct tcp_pcb *pcb,
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
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.
- 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
parameter since the pcb may already have been deallocated.

View File

@ -357,7 +357,7 @@ auth_peer_success(int unit, u16_t protocol, char *name, int namelen)
*/
if (namelen > sizeof(peer_authname) - 1) {
namelen = sizeof(peer_authname) - 1;
}
}
BCOPY(name, peer_authname, namelen);
peer_authname[namelen] = 0;

View File

@ -28,7 +28,7 @@
* 03-01-01 Marc Boucher <marc@mbsi.ca>
* Ported to lwIP.
* 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.