From 4cdd39fdfdc5e791288d64c5bd1ded5012634123 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 7 Mar 2011 17:47:05 +0100 Subject: [PATCH] src/connection.c: Fix switched variables in read_from_write_to(). --- src/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connection.c b/src/connection.c index ec351b7..8f78bba 100644 --- a/src/connection.c +++ b/src/connection.c @@ -271,8 +271,8 @@ static int read_from_write_to(int from, int to) { return -1; } if (size_read != size_written) { - printf("only written %ld of %ld bytes!\n", (long int)size_read, - (long int)size_written); + printf("only written %ld of %ld bytes!\n", (long int)size_written, + (long int)size_read); return -1; } -- 2.45.2