1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: byte => u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 14:58:56 +03:00
parent b49d873217
commit d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions

View File

@@ -200,9 +200,9 @@ fn (mut c Client) send_auth() ? {
return
}
mut sb := strings.new_builder(100)
sb.write_byte(0)
sb.write_u8(0)
sb.write_string(c.username)
sb.write_byte(0)
sb.write_u8(0)
sb.write_string(c.password)
a := sb.str()
auth := 'AUTH PLAIN ${base64.encode_str(a)}\r\n'