]> Cypherpunks.ru repositories - nncp.git/commitdiff
Fix typo check
authorSergey Matveev <stargrave@stargrave.org>
Sun, 4 Jun 2023 08:37:33 +0000 (11:37 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 4 Jun 2023 08:37:33 +0000 (11:37 +0300)
src/cmd/nncp-xfer/main.go

index 8685b1c1c5324633c292e2cbe53b08d21e52f03b..016c441510cda5215a363b06ecec1805616a2ab6 100644 (file)
@@ -195,7 +195,7 @@ func main() {
                        continue
                }
                for _, fiInt := range fisInt {
-                       if !fi.IsDir() {
+                       if !fiInt.IsDir() {
                                continue
                        }
                        // Check that it is valid Base32 encoding