]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/call.go
DirSync after .seen creation
[nncp.git] / src / call.go
index 648190f22856e45bbc437a1d2a49e54e8522fb1d..1e20aa23f340a40549660de2878dfb1b97986c78 100644 (file)
@@ -45,6 +45,7 @@ type Call struct {
        AutoTossNoFreq bool
        AutoTossNoExec bool
        AutoTossNoTrns bool
+       AutoTossNoArea bool
 }
 
 func (ctx *Ctx) CallNode(
@@ -110,7 +111,7 @@ func (ctx *Ctx) CallNode(
                                        node.Name,
                                        int(state.Duration.Hours()),
                                        int(state.Duration.Minutes()),
-                                       int(state.Duration.Seconds()/60),
+                                       int(state.Duration.Seconds())%60,
                                        humanize.IBytes(uint64(state.RxBytes)),
                                        humanize.IBytes(uint64(state.RxSpeed)),
                                        humanize.IBytes(uint64(state.TxBytes)),