~tomterl/public-inbox

thp: Fix error: Too many arguments for function call v1 APPLIED

Carlos Une: 1
 Fix error: Too many arguments for function call

 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/~tomterl/public-inbox/patches/52923/mbox | git am -3
Learn more about email & git

[PATCH thp] Fix error: Too many arguments for function call Export this patch

---
 cmd/thpd/main.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/thpd/main.ha b/cmd/thpd/main.ha
index 07be64f..825ff2c 100644
--- a/cmd/thpd/main.ha
+++ b/cmd/thpd/main.ha
@@ -35,7 +35,7 @@ fn init_log() void = {
		case true =>
			const lfs = strings::concat(dirs::cache("thp"), "/thpd.log");
			defer free(lfs);
			match(os::create(lfs, fs::mode::USER_RW, fs::flag::CREATE, fs::flag::WRONLY, fs::flag::APPEND)) {
			match(os::create(lfs, fs::mode::USER_RW, fs::flag::CREATE | fs::flag::WRONLY | fs::flag::APPEND)) {
			case let lf: io::file =>
				thpd_log = alloc(log::new(lf));
			case let e: fs::error =>
-- 
2.39.2