diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-23 16:43:08 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-23 16:43:08 +0000 |
commit | 7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc (patch) | |
tree | 0ef53013c165359ae6ac67bf230d27c8abb45743 /src | |
parent | 98ffd0a3fe63983ba2536e546af5b8bd2dd00e16 (diff) | |
download | tinyproxy-7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc.tar.gz tinyproxy-7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc.zip |
Fixed a spelling problem in a log message.
Diffstat (limited to 'src')
-rw-r--r-- | src/sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: sock.c,v 1.11 2001-10-23 03:57:34 rjkaes Exp $ +/* $Id: sock.c,v 1.12 2001-10-23 16:43:08 rjkaes Exp $ * * Sockets are created and destroyed here. When a new connection comes in from * a client, we need to copy the socket and the create a second socket to the @@ -166,7 +166,7 @@ char *getpeer_ip(int fd, char *ipaddr) *ipaddr = '\0'; if (getpeername(fd, (struct sockaddr*)&name, &namelen) != 0) { - log_message(LOG_ERR, "geetpeer_ip: 'could not get peer's IP address' (\"%s\": %d)", strerror(errno), errno); + log_message(LOG_ERR, "getpeer_ip: 'could not get peer's IP address' (\"%s\": %d)", strerror(errno), errno); } else { strlcpy(ipaddr, inet_ntoa(*(struct in_addr*)&name.sin_addr.s_addr), |