From f9d7f3d5c8f9d98cbc61abe713cee24ac46c12cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ketelaars?= Date: Sat, 19 Sep 2015 17:18:41 +0200 Subject: [PATCH] WARNING != ERROR --- fiche.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fiche.c b/fiche.c index 9a87c42..8ee3dab 100644 --- a/fiche.c +++ b/fiche.c @@ -175,7 +175,7 @@ struct client_data get_client_address(struct sockaddr_in client_address) hostp = gethostbyaddr((const char *)&client_address.sin_addr.s_addr, sizeof(client_address.sin_addr.s_addr), AF_INET); if (hostp == NULL) { - info("ERROR: Couldn't obtain client's hostname\n"); + info("WARNING: Couldn't obtain client's hostname\n"); data.hostname = "n/a"; } else @@ -184,7 +184,7 @@ struct client_data get_client_address(struct sockaddr_in client_address) hostaddrp = inet_ntoa(client_address.sin_addr); if (hostaddrp == NULL) { - info("ERROR: Couldn't obtain client's address\n"); + info("WARNING: Couldn't obtain client's address\n"); data.ip_address = "n/a"; } else