mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Replace some old hard-coded 1024 byte buffers with the new function
This commit is contained in:
@@ -50,7 +50,8 @@ else {
|
||||
print "Content-type: application/x-gzip\n\n";
|
||||
my $buf;
|
||||
open(TEMP, "<$temp");
|
||||
while(read(TEMP, $buf, 1024)) {
|
||||
my $bs = &get_buffer_size();
|
||||
while(read(TEMP, $buf, $bs)) {
|
||||
print $buf;
|
||||
}
|
||||
close(TEMP);
|
||||
|
||||
Reference in New Issue
Block a user