]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cypherpunks.ru/nncp/cmd/nncp-xfer/main.go
Suffix is a better term
[nncp.git] / src / cypherpunks.ru / nncp / cmd / nncp-xfer / main.go
index f500cc919ffe965caac6cf215867eaffcf5c9e47..ffd1c0c9ae930ede4cc6d8bcd2dcac81fdd5e861 100644 (file)
@@ -286,7 +286,7 @@ Tx:
                                job.Fd.Close()
                                continue
                        }
-                       if _, err = os.Stat(filepath.Join(dstPath, pktName+nncp.SeenPostfix)); err == nil || !os.IsNotExist(err) {
+                       if _, err = os.Stat(filepath.Join(dstPath, pktName+nncp.SeenSuffix)); err == nil || !os.IsNotExist(err) {
                                ctx.LogD("nncp-xfer", sds, "already exists")
                                job.Fd.Close()
                                continue