diff options
author | Michael Adam <obnox@samba.org> | 2013-11-23 12:21:59 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-23 12:21:59 +0100 |
commit | b59ecd0c66a91081ae0e4d742d4e9b86c311e2c3 (patch) | |
tree | 67695250db74594b9edd7089b6a40306aca8e584 /src | |
parent | ffa3a56ab8f67a2c137f68fe5611fa6524128a8c (diff) | |
download | tinyproxy-b59ecd0c66a91081ae0e4d742d4e9b86c311e2c3.tar.gz tinyproxy-b59ecd0c66a91081ae0e4d742d4e9b86c311e2c3.zip |
buffer: fix log message in read_buffer().
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 4c046c6..b338183 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -253,8 +253,8 @@ ssize_t read_buffer (int fd, struct buffer_s * buffptr) break; default: log_message (LOG_ERR, - "readbuff: recv() error \"%s\" on file descriptor %d", - strerror (errno), fd); + "read_buffer: read() failed on fd %d: %s", + fd, strerror(errno)); bytesin = -1; break; } |