summaryrefslogtreecommitdiff
path: root/src/rhimportd/ctrlTelnet.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-15 15:55:16 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-15 15:55:16 (GMT)
commitff5f656833854e2ab16f0472f68f487a6a035120 (patch)
treee44f5ed647369b5a32f16cf0d0b92369449820d7 /src/rhimportd/ctrlTelnet.go
parent456d72b7d4c93cb98ed8ddc5cd5e3a2382b5daa2 (diff)
progress messages now contain file title
Diffstat (limited to 'src/rhimportd/ctrlTelnet.go')
-rw-r--r--src/rhimportd/ctrlTelnet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhimportd/ctrlTelnet.go b/src/rhimportd/ctrlTelnet.go
index 83bb989..8ce4e83 100644
--- a/src/rhimportd/ctrlTelnet.go
+++ b/src/rhimportd/ctrlTelnet.go
@@ -264,7 +264,7 @@ func telnetShow(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.
return false
}
-func telnetProgressCallback(step int, stepName string, current, total float64, cart, cut uint, userdata interface{}) bool {
+func telnetProgressCallback(step int, stepName string, current, total float64, title string, cart, cut uint, userdata interface{}) bool {
c := userdata.(*telgo.Client)
if cart > 0 {
c.Say("%s: %3.2f%% (Cart/Cut: %d/%d)\r", stepName, (current/total)*100, cart, cut)