diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-16 17:57:46 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-16 17:57:46 -0500 |
commit | 4a8ba33a11077c241c60cf888f1c5ddb6bbb5b4b (patch) | |
tree | 0a3ee4eb9604930556a29c4f5a46b75daab994f7 /netlib.c | |
parent | fd203176f17c88b334008ce752009213f1c127e3 (diff) | |
download | gpsd-4a8ba33a11077c241c60cf888f1c5ddb6bbb5b4b.tar.gz |
Refactor to turf all uses of gpsd_report() out of netlib.c
A recent bug report makes it clear that all such uses have to be removed from
the client libraries. Otherwise a GUI client might dummp log messages uselessly
in the X session error log. This is a start.
Diffstat (limited to 'netlib.c')
-rw-r--r-- | netlib.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -94,7 +94,6 @@ socket_t netlib_connectsock(int af, const char *host, const char *service, } if (s > 0) { - gpsd_report(LOG_SPIN, "close(%d) in netlib_connectsock()\n", s); (void)close(s); } } @@ -121,8 +120,6 @@ socket_t netlib_connectsock(int af, const char *host, const char *service, /* set socket to noblocking */ (void)fcntl(s, F_SETFL, fcntl(s, F_GETFL) | O_NONBLOCK); - gpsd_report(LOG_SPIN, "netlib_connectsock() returns socket on fd %d\n", - s); return s; /*@ +type +mustfreefresh @*/ } |