X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/03a839ce52510443ef1a1fe8b3629884423099fe..206212ca161b23aece16795f0b4e61a133ba7a6a:/file.c diff --git a/file.c b/file.c index 2e342cb..914edd8 100644 --- a/file.c +++ b/file.c @@ -5,7 +5,7 @@ * (c) 1999 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the `fw' port forwarder. * @@ -13,12 +13,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * `fw' is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with `fw'; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -90,7 +90,7 @@ typedef struct fdata { typedef struct fsource { source s; fdata f; -} fsource; +} fsource; /* --- File target block --- */ @@ -176,7 +176,7 @@ static reffd *file_nullref(void) reffd_handler(rnull, file_null, 0); } return (rnull); -} +} /* --- @file_fspec@ --- * * @@ -250,7 +250,7 @@ static void file_fspec(fspec *f, scanner *sc) else if (fd) { f->type = FTYPE_FD; f->u.fd = fd; - token(sc); + token(sc); } else if (type == FTYPE_FD) { if (sc->t == CTOK_WORD) error(sc, "bad file descriptor `%s'", sc->d.buf); @@ -306,7 +306,7 @@ static void file_pfspec(fspec *f, dstr *d) case FTYPE_NULL: dstr_puts(d, "null"); break; - } + } } static void file_desc(fdata *f, dstr *d)