From fed254a29f88d12d18b3e8dd06ef126bed219ed0 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 8 Aug 2007 08:20:06 +0000 Subject: changed function name dprintf() to dbgprintf() as it conflicts with the clib --- net.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net.c') diff --git a/net.c b/net.c index d540ad28..00a445ca 100644 --- a/net.c +++ b/net.c @@ -65,14 +65,14 @@ int should_use_so_bsdcompat(void) init_done = 1; if (uname(&utsname) < 0) { - dprintf("uname: %s\r\n", strerror(errno)); + dbgprintf("uname: %s\r\n", strerror(errno)); return 1; } /* Format is .. where the first three are unsigned integers and the last is an arbitrary string. We only care about the first two. */ if (sscanf(utsname.release, "%u.%u", &version, &patchlevel) != 2) { - dprintf("uname: unexpected release '%s'\r\n", + dbgprintf("uname: unexpected release '%s'\r\n", utsname.release); return 1; } @@ -123,7 +123,7 @@ int cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN) ip, sizeof ip, NULL, 0, NI_NUMERICHOST); if (error) { - dprintf("Malformed from address %s\n", gai_strerror(error)); + dbgprintf("Malformed from address %s\n", gai_strerror(error)); strcpy((char*) pszHost, "???"); strcpy((char*) pszHostFQDN, "???"); return 1; @@ -186,7 +186,7 @@ int cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN) } if (error || DisableDNS) { - dprintf("Host name for your address (%s) unknown\n", ip); + dbgprintf("Host name for your address (%s) unknown\n", ip); strcpy((char*) pszHostFQDN, ip); strcpy((char*) pszHost, ip); return 1; -- cgit