diff options
author | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:46:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:46:00 -0700 |
commit | 77e283cc8fda4ced8527a2cfc6fd4c863d9b86a4 (patch) | |
tree | 4f3a72f05f335d28660b852b16b4d930567e2b51 /net_ntrip.c | |
parent | a5a4102ddba7e8f873a83d08328949c64240db96 (diff) | |
download | gpsd-77e283cc8fda4ced8527a2cfc6fd4c863d9b86a4.tar.gz |
More trailing whitespace fixups.
Diffstat (limited to 'net_ntrip.c')
-rw-r--r-- | net_ntrip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net_ntrip.c b/net_ntrip.c index 8fc3b676..25b71205 100644 --- a/net_ntrip.c +++ b/net_ntrip.c @@ -178,7 +178,7 @@ static int ntrip_sourcetable_parse(struct gps_device_t *device) if (match) { return 1; } - gpsd_log(&device->context->errout, LOG_ERROR, + gpsd_log(&device->context->errout, LOG_ERROR, "ntrip stream read error %d on fd %d\n", errno, fd); return -1; @@ -232,7 +232,7 @@ static int ntrip_sourcetable_parse(struct gps_device_t *device) /* parse STR */ if (str_starts_with(line, NTRIP_STR)) { ntrip_str_parse(line + strlen(NTRIP_STR), - (size_t) (llen - strlen(NTRIP_STR)), + (size_t) (llen - strlen(NTRIP_STR)), &hold, &device->context->errout); if (strcmp(device->ntrip.stream.mountpoint, hold.mountpoint) == 0) { /* todo: support for RTCM 3.0, SBAS (WAAS, EGNOS), ... */ @@ -321,7 +321,7 @@ static int ntrip_stream_req_probe(const struct ntrip_stream_t *stream, "\r\n", VERSION, stream->url); r = write(dsock, buf, strlen(buf)); if (r != (ssize_t)strlen(buf)) { - gpsd_log(errout, LOG_ERROR, + gpsd_log(errout, LOG_ERROR, "ntrip stream write error %d on fd %d during probe request %zd\n", errno, dsock, r); (void)close(dsock); @@ -393,7 +393,7 @@ static int ntrip_stream_get_req(const struct ntrip_stream_t *stream, } static int ntrip_stream_get_parse(const struct ntrip_stream_t *stream, - const int dsock, + const int dsock, const struct gpsd_errout_t *errout) { char buf[BUFSIZ]; @@ -402,7 +402,7 @@ static int ntrip_stream_get_parse(const struct ntrip_stream_t *stream, while (read(dsock, buf, sizeof(buf) - 1) == -1) { if (errno == EINTR) continue; - gpsd_log(errout, LOG_ERROR, + gpsd_log(errout, LOG_ERROR, "ntrip stream read error %d on fd %d during get rsp\n", errno, dsock); goto close; |