Description: Initialize the client at first connection if not done yet. Bug-Debian: http://bugs.debian.org/100375 Forwarded: no Author: Philip Kendall Last-Update: 2010-07-02 --- lib/Rconnect.c +++ lib/Rconnect.c @@ -82,6 +82,10 @@ return connect(s, name, namelen); } +#if SOCKS_CLIENT /* may be called before normal init, log to right place */ + clientinit(); +#endif + slog(LOG_DEBUG, "%s: socket %d, address %s", function, s, sockaddr2string(name, namestr, sizeof(namestr)));