1
0
Fork 0

go fix. Clearly, I need to run this more often ;)

This commit is contained in:
Matt Goodall 2012-07-18 11:40:05 +01:00
parent 82015bcab4
commit 9ba9dcbe86
9 changed files with 54 additions and 55 deletions

View File

@ -146,7 +146,7 @@ type authHandler struct {
}
var authHandlers = []authHandler{
authHandler{"PLAIN", authenticatePlain},
{"PLAIN", authenticatePlain},
}
func authenticatePlain(stream *Stream, user, password string) error {

View File

@ -15,4 +15,3 @@ func UUID4() string {
uuid[8] = (uuid[8] &^ 0x40) | 0x80
return fmt.Sprintf("%x-%x-%x-%x-%x", uuid[:4], uuid[4:6], uuid[6:8], uuid[8:10], uuid[10:])
}