diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-22 08:59:54 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-22 09:01:42 -0400 |
commit | 7b7806b85096391e364a03ef3551970620b5492e (patch) | |
tree | ce5416a3f49a79e941e93197c31bdc917ec45d82 /netlib.c | |
parent | 00b768d7ec851a5cff99d5a6ac169e789438001f (diff) | |
download | gpsd-7b7806b85096391e364a03ef3551970620b5492e.tar.gz |
Lose the assumption that socket_t is an integer.
Diffstat (limited to 'netlib.c')
-rw-r--r-- | netlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ socket_t netlib_connectsock(int af, const char *host, const char *service, socket_t s = -1; bool bind_me; + INVALIDATE_SOCKET(s); /*@-type@*/ ppe = getprotobyname(protocol); if (strcmp(protocol, "udp") == 0) { |