~tomterl/public-inbox

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

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

Carlos Une <une@fastmail.fm>
Details
Message ID
<20240525040900.6028-1-une@fastmail.fm>
DKIM signature
pass
Download raw message
Patch: +1 -1
---
 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
Reply to thread Export thread (mbox)