diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
commit | 620f7445dcacfbb740c55a9e4b891593c3f94910 (patch) | |
tree | e092711dae9ac1af540a2e5469493f13303248c1 /net_ntrip.c | |
parent | 76b2aaba9575d60230387555822b18ceeb07353a (diff) | |
download | gpsd-620f7445dcacfbb740c55a9e4b891593c3f94910.tar.gz |
Nuke trailing whitespace in C source.
Diffstat (limited to 'net_ntrip.c')
-rw-r--r-- | net_ntrip.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net_ntrip.c b/net_ntrip.c index d766c6a1..5f1f7e53 100644 --- a/net_ntrip.c +++ b/net_ntrip.c @@ -490,24 +490,24 @@ int ntrip_open(struct gps_device_t *device, char *caster) port = DEFAULT_RTCM_PORT; } - (void)strlcpy(device->ntrip.stream.mountpoint, - stream, + (void)strlcpy(device->ntrip.stream.mountpoint, + stream, sizeof(device->ntrip.stream.mountpoint)); if (auth != NULL) - (void)strlcpy(device->ntrip.stream.credentials, - auth, + (void)strlcpy(device->ntrip.stream.credentials, + auth, sizeof(device->ntrip.stream.credentials)); - /* + /* * Semantically url and port ought to be non-NULL by now, * but just in case...this code appeases Coverity. */ if (url != NULL) - (void)strlcpy(device->ntrip.stream.url, - url, + (void)strlcpy(device->ntrip.stream.url, + url, sizeof(device->ntrip.stream.url)); if (port != NULL) - (void)strlcpy(device->ntrip.stream.port, - port, + (void)strlcpy(device->ntrip.stream.port, + port, sizeof(device->ntrip.stream.port)); ret = ntrip_stream_req_probe(&device->ntrip.stream); @@ -558,7 +558,7 @@ int ntrip_open(struct gps_device_t *device, char *caster) } /*@ +branchstate +nullpass @*/ -void ntrip_report(struct gps_context_t *context, +void ntrip_report(struct gps_context_t *context, struct gps_device_t *gps, struct gps_device_t *caster) /* may be time to ship a usage report to the Ntrip caster */ |