~sircmpwn/public-inbox

hare-irc: client: update strings::fromutf8 usage v1 APPLIED

Umar Getagazov: 1
 client: update strings::fromutf8 usage

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/36799/mbox | git am -3
Learn more about email & git

[PATCH hare-irc] client: update strings::fromutf8 usage Export this patch

---
 net/irc/client.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/irc/client.ha b/net/irc/client.ha
index a30f204..e4cc767 100644
--- a/net/irc/client.ha
+++ b/net/irc/client.ha
@@ -159,7 +159,7 @@ export fn recv(client: *client) (message | io::EOF | error) = {
			continue;
		};

		const in = strings::fromutf8(buf[..end]);
		const in = strings::fromutf8(buf[..end])!;
		const msg = parse(in)?;

		match (client.logfn) {
-- 
2.38.1
Thanks!

To git@git.sr.ht:~sircmpwn/hare-irc
   5ed3d5e..74ad0f6  master -> master