summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-23 16:43:08 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-23 16:43:08 +0000
commit7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc (patch)
tree0ef53013c165359ae6ac67bf230d27c8abb45743
parent98ffd0a3fe63983ba2536e546af5b8bd2dd00e16 (diff)
downloadtinyproxy-7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc.tar.gz
tinyproxy-7d7958b0d7c4b463b67a38ffdf3a7c6f4aa5f7bc.zip
Fixed a spelling problem in a log message.
Diffstat (limited to '')
-rw-r--r--src/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sock.c b/src/sock.c
index e55be29..4420921 100644
--- a/src/sock.c
+++ b/src/sock.c
@@ -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),