From 4a8ba33a11077c241c60cf888f1c5ddb6bbb5b4b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 16 Dec 2010 17:57:46 -0500 Subject: 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. --- netlib.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'netlib.c') diff --git a/netlib.c b/netlib.c index df1f2646..d30856d2 100644 --- a/netlib.c +++ b/netlib.c @@ -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 @*/ } -- cgit v1.2.1