~sircmpwn/himitsu-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH himitsu-totp] Update for stdlib and himitsu changes

Details
Message ID
<20220621033608.6839-1-ecs@d2evs.net>
DKIM signature
pass
Download raw message
Patch: +4 -3
---
 cmd/hitotp/main.ha | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/cmd/hitotp/main.ha b/cmd/hitotp/main.ha
index df4068e..661d5a7 100644
--- a/cmd/hitotp/main.ha
+++ b/cmd/hitotp/main.ha
@@ -101,10 +101,11 @@ export fn main() void = {
	};

	let buf = path::init();
	const sockpath = path::set(&buf, dirs::state("himitsu"), "socket")!;
	// TODO: Bubble up dirs::runtime errors
	const sockpath = path::set(&buf, dirs::runtime()!, "himitsu")!;
	let conn = match (unix::connect(sockpath)) {
	case let s: io::file =>
		yield s;
	case let s: net::socket =>
		yield s: io::file;
	case let e: net::error =>
		fmt::fatal(net::strerror(e));
	};
-- 
2.36.1
Details
Message ID
<CKWJC6JTYV4P.21FL9R178JHLG@taiga>
In-Reply-To
<20220621033608.6839-1-ecs@d2evs.net> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/himitsu-totp
   0c2de08..d171bea  master -> master
Reply to thread Export thread (mbox)