X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.c;h=f136a58e4fe82ca073a8d74802feb60f5c5cd9a8;hb=1a1ebefd572c18d6af187750847b024ce07551ae;hp=c7e8b8573cab6dcbb9eef3d03e79bfe92cc80f84;hpb=8309e9b869c25677d674f5cecb8b7ac5469d1758;p=meshlink diff --git a/src/net.c b/src/net.c index c7e8b857..f136a58e 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.17 2000/06/30 12:41:05 guus Exp $ + $Id: net.c,v 1.35.4.18 2000/06/30 21:03:51 guus Exp $ */ #include "config.h" @@ -531,7 +531,8 @@ cp return -1; } - syslog(LOG_INFO, _("Connected to %s port %hd"), + if(debug_lvl > 0) + syslog(LOG_INFO, _("Connected to %s port %hd"), cl->real_hostname, cl->port); cp return 0;