diff options
author | brian <brian@FreeBSD.org> | 1998-03-13 01:36:10 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-03-13 01:36:10 +0000 |
commit | 95c31de535e78cfa5906537fdd820292b327f72d (patch) | |
tree | f529f4a6210cf9d479a21d0fcec57c575bee5e55 /usr.sbin/ppp/ip.c | |
parent | 016c85730a38238d6141fa7c3929963b2cf4415e (diff) | |
download | FreeBSD-src-95c31de535e78cfa5906537fdd820292b327f72d.zip FreeBSD-src-95c31de535e78cfa5906537fdd820292b327f72d.tar.gz |
Add extraneous braces to stiffle warnings from gcc-2.8
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r-- | usr.sbin/ppp/ip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index ddd520b..a784bb5 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ip.c,v 1.37 1998/01/11 17:53:18 brian Exp $ + * $Id: ip.c,v 1.38 1998/01/21 02:15:16 brian Exp $ * * TODO: * o Return ICMP message for filterd packet @@ -473,11 +473,12 @@ IpInput(struct mbuf * bp) IpcpAddInOctets(nb); nb += sizeof tun - sizeof tun.data; nw = write(tun_out, &tun, nb); - if (nw != nb) + if (nw != nb) { if (nw == -1) LogPrintf(LogERROR, "IpInput: wrote %d, got %s\n", nb, strerror(errno)); else LogPrintf(LogERROR, "IpInput: wrote %d, got %d\n", nb, nw); + } } pfree(bp); |