From 3f96a15fd4b1c9ce71c0e1baef52d2834227e542 Mon Sep 17 00:00:00 2001 From: fbernon Date: Mon, 3 Dec 2007 21:44:51 +0000 Subject: [PATCH] Minor changes (tabs) --- doc/rawapi.txt | 4 ++-- src/netif/ppp/auth.c | 2 +- src/netif/ppp/magic.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/rawapi.txt b/doc/rawapi.txt index 4ad8c13b..016ae64c 100644 --- a/doc/rawapi.txt +++ b/doc/rawapi.txt @@ -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. diff --git a/src/netif/ppp/auth.c b/src/netif/ppp/auth.c index 75c7959a..a55e0f1d 100644 --- a/src/netif/ppp/auth.c +++ b/src/netif/ppp/auth.c @@ -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; diff --git a/src/netif/ppp/magic.c b/src/netif/ppp/magic.c index d9e78707..18d51459 100644 --- a/src/netif/ppp/magic.c +++ b/src/netif/ppp/magic.c @@ -28,7 +28,7 @@ * 03-01-01 Marc Boucher * Ported to lwIP. * 97-12-04 Guy Lancaster , Global Election Systems Inc. -* Original based on BSD magic.c. +* Original based on BSD magic.c. *****************************************************************************/ /* * magic.c - PPP Magic Number routines. -- 2.39.2