mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Fix variadic Printfin client#Panicf.
This commit is contained in:
parent
5b1cfd14f1
commit
eda35c3ff8
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ func (client *Client) Panic(v ...interface{}) {
|
|||
|
||||
// Log a formatted panic and disconnect the client.
|
||||
func (client *Client) Panicf(format string, v ...interface{}) {
|
||||
client.Printf(format, v)
|
||||
client.Printf(format, v...)
|
||||
client.Disconnect()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue