From 08472c27c77d27ea084e3458842540351c5a5c28 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Wed, 27 Sep 2023 20:23:30 +0100 Subject: Add cleartext password handling. Fix segfault on error response read. Add test for tcp connection and incorrect password --- src/conn/config.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conn/config.zig') diff --git a/src/conn/config.zig b/src/conn/config.zig index b4e7cff..3f577d1 100644 --- a/src/conn/config.zig +++ b/src/conn/config.zig @@ -4,9 +4,9 @@ const SSHashMap = std.StringHashMap([]const u8); const Config = @This(); allocator: std.mem.Allocator, -address: union(enum){ +address: union(enum) { net: std.net.Address, - unix: []const u8, + unix: []const u8, // std.net.Address looks like it handles unix sockets but it doesn't really. }, database: ?[]const u8 = null, user: []const u8, -- cgit v1.2.3-ZIG