summaryrefslogtreecommitdiff
path: root/net_ntrip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-11 14:41:31 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-11 14:42:02 -0400
commit2a62d13b260430097cb4adab0f64901cfb2b13dc (patch)
tree4b07bb3f7c877f6e1b1d11500ba017c9551bb6f1 /net_ntrip.c
parente5fe5a561e6257a2d1f16a4e9247b20e2c214cd5 (diff)
downloadgpsd-2a62d13b260430097cb4adab0f64901cfb2b13dc.tar.gz
Still working on pacifying Coverity. All regression tests pass.
Diffstat (limited to 'net_ntrip.c')
-rw-r--r--net_ntrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net_ntrip.c b/net_ntrip.c
index 83c0841a..0f4aca88 100644
--- a/net_ntrip.c
+++ b/net_ntrip.c
@@ -320,7 +320,7 @@ static int ntrip_stream_req_probe(const struct ntrip_stream_t *stream)
if (r != (ssize_t)strlen(buf)) {
gpsd_report(LOG_ERROR, "ntrip stream write error %d on fd %d during probe request %zd\n",
errno, dsock, r);
- close(dsock);
+ (int)close(dsock);
return -1;
}
/* coverity[leaked_handle] This is an intentional allocation */