minor fix - fiche - A pastebin adjusted for gopher use
(HTM) git clone git://vernunftzentrum.de/fiche.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 8b553306f04ca25b51aad877e6f011eb077a1354
(DIR) parent 7b48aed40239012e2ee068826a3225b93a0ddcc5
(HTM) Author: solusipse <solus1ps3@gmail.com>
Date: Mon, 16 Sep 2013 15:07:31 +0200
minor fix
Diffstat:
fiche.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/fiche.c b/fiche.c
@@ -156,7 +156,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)
{
- nerror("ERROR: Couldn't obtain client's address");
+ nerror("ERROR: Couldn't obtain client's hostname");
data.hostname = "error";
}
else