]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/mcd.go
Do not use multiline const-s with single entry
[nncp.git] / src / mcd.go
index 60ca6a5521010933c3b62a5cc0dd61bf368fed37..a1917121fe7f7cca37f4f403fa60635f558074e6 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
@@ -28,9 +28,7 @@ import (
        xdr "github.com/davecgh/go-xdr/xdr2"
 )
 
-const (
-       MCDPort = 5400
-)
+const MCDPort = 5400
 
 type MCD struct {
        Magic  [8]byte