diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-06-01 19:23:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2007-06-01 19:23:17 +0000 |
commit | 434aa4709368135fa7ef330c6f968c3ab59408c5 (patch) | |
tree | f9897b18ea769882a788d08d376a3a3e0a28153b /netlib.c | |
parent | 935c33d4c9469fa406925635b2084f0b44673a1d (diff) | |
download | gpsd-434aa4709368135fa7ef330c6f968c3ab59408c5.tar.gz |
Change return ttype of gpsd_write to be what the Garmin driver was expecting;
it actually makes more sense this way. (Fixes what may have been a
subtle bug.)
Diffstat (limited to 'netlib.c')
-rw-r--r-- | netlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -65,7 +65,9 @@ int netlib_connectsock(const char *host, const char *service, const char *protoc #ifdef IPTOS_LOWDELAY opt = IPTOS_LOWDELAY; + /*@ -unrecog @*/ (void)setsockopt(s, IPPROTO_IP, IP_TOS, &opt, sizeof opt); + /*@ +unrecog @*/ #endif #ifdef TCP_NODELAY if (type == SOCK_STREAM) |