From b001c14bf24c011b1dea50dbf32cb0409b8c2993 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sun, 3 Feb 2008 20:43:35 +0000 Subject: [PATCH] Code style fix --- core/dev/slip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/dev/slip.c b/core/dev/slip.c index be2552f0d..62eecca50 100644 --- a/core/dev/slip.c +++ b/core/dev/slip.c @@ -29,7 +29,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: slip.c,v 1.5 2007/11/18 12:27:44 ksb Exp $ + * @(#)$Id: slip.c,v 1.6 2008/02/03 20:43:35 adamdunkels Exp $ */ @@ -245,8 +245,9 @@ PROCESS_THREAD(slip_process, ev, data) nid = htons(nid); nid = ~nid; /* negate */ BUF->ipchksum += nid; /* add */ - if (BUF->ipchksum < nid) /* 1-complement overflow? */ + if(BUF->ipchksum < nid) { /* 1-complement overflow? */ BUF->ipchksum++; + } } tcpip_input(); } else {