From 54cc78586aec14c714060c2d64837cfe54fdc9eb Mon Sep 17 00:00:00 2001 From: Nate Straz Date: Fri, 22 Aug 2008 19:29:05 +0000 Subject: Fix fallback buffer sizes. What was I thinking? --- qacp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qacp.c') diff --git a/qacp.c b/qacp.c index 37b4ba4..7386092 100644 --- a/qacp.c +++ b/qacp.c @@ -167,7 +167,7 @@ qacp_sendonefile(const char *host, const char *srcfile, const char *destfile) if (nbytes == -1 && errno == EINVAL) { fprintf(stderr, "Falling back to reads\n"); - if (sb.st_size > 1024000) { + if (sb.st_size < 1024000) { bufsize = 8192; } else { bufsize = 1024000; -- cgit