]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-exec/main.go
Raise copyright years
[nncp.git] / src / cmd / nncp-exec / main.go
index 7747f3fcf1aa478b96ee3b605c8baa7950892baa..eb2d21aebdd0bc95e3eccf231c3a36708377b058 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2023 Sergey Matveev <stargrave@stargrave.org>
 
 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,