mirror of
https://github.com/mumble-voip/grumble.git
synced 2026-01-10 03:52:00 -08:00
Grumble gofmt run.
This commit is contained in:
parent
f8d511a8c3
commit
2e0a825bc0
4 changed files with 18 additions and 18 deletions
|
|
@ -176,7 +176,7 @@ func (client *Client) RejectAuth(kind, reason string) {
|
|||
func (client *Client) readProtoMessage() (msg *Message, err os.Error) {
|
||||
var (
|
||||
length uint32
|
||||
kind uint16
|
||||
kind uint16
|
||||
)
|
||||
|
||||
// Read the message type (16-bit big-endian unsigned integer)
|
||||
|
|
@ -522,8 +522,8 @@ func (client *Client) sendChannelList() {
|
|||
|
||||
func (client *Client) sendChannelTree(channel *Channel) {
|
||||
chanstate := &mumbleproto.ChannelState{
|
||||
ChannelId: proto.Uint32(uint32(channel.Id)),
|
||||
Name: proto.String(channel.Name),
|
||||
ChannelId: proto.Uint32(uint32(channel.Id)),
|
||||
Name: proto.String(channel.Name),
|
||||
}
|
||||
if channel.parent != nil {
|
||||
chanstate.Parent = proto.Uint32(uint32(channel.parent.Id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue