X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcfg.go;h=ee8f4c63c348896f2fdf212b52a5112ca3e74f7f;hb=0367cce2741e1ce6a89a49fd5c4e9df6005c9744;hp=55c9dd0a2479cbe93ae98d97edb2aeb846098ff7;hpb=54611d620bb927666b94e0f6e3c5f723bd7a7cf4;p=nncp.git diff --git a/src/cfg.go b/src/cfg.go index 55c9dd0..ee8f4c6 100644 --- a/src/cfg.go +++ b/src/cfg.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 @@ -191,7 +191,7 @@ func NewNode(name string, cfg NodeJSON) (*Node, error) { } var freqPath *string - freqChunked := int64(MaxFileSize) + var freqChunked int64 var freqMinSize int64 freqMaxSize := int64(MaxFileSize) if cfg.Freq != nil {