summaryrefslogtreecommitdiff
path: root/isgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-17 19:23:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-17 19:23:00 +0000
commitd678f81143a57f9a61e898c272f95da696848c62 (patch)
treea9f06307f3b649ca749ee8921caa261eb96e488a /isgps.c
parentbc803dee5dcd2fa36b10398f4a081a8aac46e6fb (diff)
downloadgpsd-d678f81143a57f9a61e898c272f95da696848c62.tar.gz
Fix some whitespace glitches found while experimenting with indent(1).
All regression tests pass.
Diffstat (limited to 'isgps.c')
-rw-r--r--isgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isgps.c b/isgps.c
index 5e87d742..28c76293 100644
--- a/isgps.c
+++ b/isgps.c
@@ -262,7 +262,7 @@ enum isgpsstat_t isgps_decode(struct gps_packet_t *session,
* Guard against a buffer overflow attack. Just wait for
* the next preamble match and go on from there.
*/
- if (session->isgps.bufindex >= (unsigned)maxlen){
+ if (session->isgps.bufindex >= (unsigned)maxlen) {
session->isgps.bufindex = 0;
gpsd_report(ISGPS_ERRLEVEL_BASE+1,
"ISGPS buffer overflowing -- resetting\n");