X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcmd%2Fnncp-exec%2Fmain.go;h=aa2ab74895cce66d152883df6c6234521f4aff5f;hb=c2b17fd0fc439e420710f53602604e8823c2fb1d;hp=7747f3fcf1aa478b96ee3b605c8baa7950892baa;hpb=a43910e6e9940fe088c38ec849bc983b54335d45;p=nncp.git diff --git a/src/cmd/nncp-exec/main.go b/src/cmd/nncp-exec/main.go index 7747f3f..aa2ab74 100644 --- a/src/cmd/nncp-exec/main.go +++ b/src/cmd/nncp-exec/main.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2021 Sergey Matveev +Copyright (C) 2016-2022 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -125,7 +125,7 @@ func main() { replyNice, flag.Args()[1], flag.Args()[2:], - bufio.NewReader(os.Stdin), + bufio.NewReaderSize(os.Stdin, nncp.MTHBlockSize), int64(*minSize)*1024, maxSize, *noCompress,