From dce9213568bd773844d6c5ef5860bfd66b4d7e2e Mon Sep 17 00:00:00 2001 From: JPaul Date: Mon, 10 Nov 2014 22:37:18 +0000 Subject: [PATCH 1/2] Adding system ID to scan results --- system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.go b/system.go index 873dbde..0fefd58 100644 --- a/system.go +++ b/system.go @@ -248,7 +248,7 @@ func deliverReply(id int, echo int, results *scanResults) { if results.negative() { return } - fmt.Fprintf(conn, "scan results from %s (%v away):\n", source.name, delay) + fmt.Fprintf(conn, "scan results from %s [id: %d] (%v away):\n", source.name, echo, delay) results.write(conn) }) } From 39fbb218f4fa2a1016b65b1394ed2e58b5c576f1 Mon Sep 17 00:00:00 2001 From: JPaul Date: Mon, 10 Nov 2014 22:38:39 +0000 Subject: [PATCH 2/2] Adding newline to commands while in transit error --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 5e96912..a8b9976 100644 --- a/commands.go +++ b/commands.go @@ -329,7 +329,7 @@ func runCommand(conn *Connection, name string, args ...string) { } if conn.InTransit() && !cmd.mobile { - fmt.Fprintf(conn, "command %s can not be used while in transit", name) + fmt.Fprintf(conn, "command %s can not be used while in transit\n", name) return } cmd.handler(conn, args...)