Fix log message.

This commit is contained in:
Matt Goodall 2017-03-30 20:40:06 +01:00
parent 29a325f2ae
commit 9a399bd692
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func (x *XMPP) receiver() {
case "presence":
v = &Presence{}
default:
log.Println("Error. Unexected element: %T %v", start, start)
log.Printf("Error. Unexected element: %T %v", start, start)
}
err = x.stream.Decode(v, start)