* Set correct type '3' for error replies.
authorUrban Wallasch <urban.wallasch@freenet.de>
Sat, 6 Apr 2019 10:27:21 +0000 (12:27 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sat, 6 Apr 2019 10:27:21 +0000 (12:27 +0200)
gogopherd.go

index ee5a6187969ca51d4bef21409f5c32b913602e8c..5697fbd5edee4c697dd2cbb2ce6d036e5cd9a59f 100644 (file)
@@ -80,7 +80,7 @@ func createIndex(selector string) (string, error) {
 
 func replyErr(conn net.Conn, msg string) {
        tracer.Print("sending error reply: " + msg)
-       s := "iGopher Meditation: " + msg + "\tErr\t" + cfg.fqdn + "\t" + cfg.port + "\r\n"
+       s := "3Gopher Meditation: " + msg + "\tErr\t" + cfg.fqdn + "\t" + cfg.port + "\r\n"
        nb, err := conn.Write([]byte(s))
        if check(err, "replyErr Write ") != nil {
                return