Introduction
Introduction Statistics Contact Development Disclaimer Help
added newline symbol at the end of two error messages - fiche - A pastebin adju…
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit 0c3e6aacd439f00940f12f4dd83c363eacea93ca
parent eabb2f5b97b56cb29dfee1096d906be25af54cad
Author: solusipse <[email protected]>
Date: Sun, 22 Sep 2013 21:43:09 +0200
added newline symbol at the end of two error messages
Diffstat:
fiche.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/fiche.c b/fiche.c
@@ -156,8 +156,7 @@ struct client_data get_client_address(struct sockaddr_in cl…
hostp = gethostbyaddr((const char *)&client_address.sin_addr.s_addr, sizeo…
if (hostp == NULL)
{
- /*nerror("ERROR: Couldn't obtain client's hostname");*/
- printf("ERROR: Couldn't obtain client's hostname");
+ printf("ERROR: Couldn't obtain client's hostname\n");
data.hostname = "error";
}
else
@@ -166,7 +165,7 @@ struct client_data get_client_address(struct sockaddr_in cl…
hostaddrp = inet_ntoa(client_address.sin_addr);
if (hostaddrp == NULL)
{
- nerror("ERROR: Couldn't obtain client's address");
+ printf("ERROR: Couldn't obtain client's address\n");
data.ip_address = "error";
}
else
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.