Commit ecb14089 authored by vyzo's avatar vyzo
Browse files

basic_host: fix warning message

parent 7990195e
...@@ -255,7 +255,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) { ...@@ -255,7 +255,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) {
} }
logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took) logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took)
} else { } else {
log.Warning("protocol mux failed: %s (took %s)", err, took) log.Warningf("protocol mux failed: %s (took %s)", err, took)
} }
s.Close() s.Close()
return return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment