diff options
author | Nate Straz <nstraz@redhat.com> | 2008-08-22 19:29:05 +0000 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2008-09-23 09:37:47 -0400 |
commit | 54cc78586aec14c714060c2d64837cfe54fdc9eb (patch) | |
tree | 5f45c165a29b45e7b27d2fadc5454139b9413232 /qacp.c | |
parent | 61977756c87c5aad51c68c15f06f0507e44b6073 (diff) | |
download | qarsh-54cc78586aec14c714060c2d64837cfe54fdc9eb.tar.gz qarsh-54cc78586aec14c714060c2d64837cfe54fdc9eb.tar.xz qarsh-54cc78586aec14c714060c2d64837cfe54fdc9eb.zip |
Fix fallback buffer sizes. What was I thinking?
Diffstat (limited to 'qacp.c')
-rw-r--r-- | qacp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |