URI: 
       tFix up some compile warnings. - tordam - A library for peer discovery inside the Tor network
  HTML git clone https://git.parazyd.org/tordam
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit f93cc44eb09590657066afaa8e30774416bdf054
   DIR parent eba42f864d4e222385e31705c9b5d31bc8679232
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Sun,  7 Mar 2021 21:51:04 +0100
       
       Fix up some compile warnings.
       
       Diffstat:
         M cmd/tor-dam/tor-dam.go              |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/cmd/tor-dam/tor-dam.go b/cmd/tor-dam/tor-dam.go
       t@@ -22,6 +22,7 @@ import (
                "crypto/rand"
                "encoding/base64"
                "flag"
       +        "fmt"
                "io/ioutil"
                "log"
                "net"
       t@@ -104,7 +105,7 @@ func main() {
                // Validate and assign the local listening address
                tordam.Cfg.Listen, err = net.ResolveTCPAddr("tcp", *listen)
                if err != nil {
       -                log.Fatal("invalid listen address: %s (%v)", *listen, err)
       +                log.Fatalf("invalid listen address: %s (%v)", *listen, err)
                }
        
                // Assign the global tordam data directory
       t@@ -136,7 +137,7 @@ func main() {
                }
                onionaddr = []byte(strings.TrimSuffix(string(onionaddr), "\n"))
                tordam.Onion = strings.Join([]string{
       -                string(onionaddr), string(tordam.Cfg.Listen.Port)}, ":")
       +                string(onionaddr), fmt.Sprint(tordam.Cfg.Listen.Port)}, ":")
                log.Println("Our onion address is:", tordam.Onion)
        
                // Start the JSON-RPC server with announce endpoints.