tChange log.Fatal to log.Fatalln - 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 1b15e4f26602d70ead07f116dba431c5a7087a6f DIR parent 3e2950074a26a8e4536ac02759b5e85c4e8f20b8 HTML Author: parazyd <parazyd@dyne.org> Date: Thu, 7 Dec 2017 18:56:56 +0100 Change log.Fatal to log.Fatalln Diffstat: M go/ddir/ddir.go | 2 +- M go/lib/crypto.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/go/ddir/ddir.go b/go/ddir/ddir.go t@@ -32,7 +32,7 @@ func parsePost(rw http.ResponseWriter, request *http.Request) { } if lib.ValidateReq(req) != true { - log.Fatal("Request is not valid.") + log.Fatalln("Request is not valid.") } } DIR diff --git a/go/lib/crypto.go b/go/lib/crypto.go t@@ -110,7 +110,7 @@ func VerifyMsg(message []byte, signature []byte, pubkey []byte) (bool, error) { case *rsa.PublicKey: log.Println("Valid RSA key parsed.") default: - log.Fatal("Public key is not of type RSA! It is: ", pkey) + log.Fatalln("Public key is not of type RSA! It is: ", pkey) return false, err }