Commit 94f9edba authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Unit conformance, comparing bytes with kilobytes is not smart.

Spotted by:	nav
parent eb812987
......@@ -178,7 +178,7 @@ stv_alloc(const struct sess *sp, size_t size)
if (st != NULL)
break;
if (size > params->fetch_chunksize) {
if (size > params->fetch_chunksize * 1024LL) {
size >>= 1;
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment