diff options
author | zachir <zachir@librem.one> | 2024-03-26 01:30:22 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-26 01:30:22 -0500 |
commit | 33086ad23f65377478e02d056cd6f4c778a72064 (patch) | |
tree | 04be9d85731147005cae1765b5236ee2aa116ddb | |
parent | 9a95ef74694076927d5e9ec8345a56b99c3f0845 (diff) |
-rw-r--r-- | src/main.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index f074fde..cfdc4e7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -259,6 +259,8 @@ fn runServer(server: *std.http.Server) !void { } } +/// printInfo() prints the copyright legal information. Theoretically it +/// shouldn't fail, but if it does stderr.print() will throw a WriteError. pub fn printInfo(stderr: std.fs.File.Writer) !void { try stderr.print("zhttpd version 0.1.0, Copyright (C) 2024 ZachIR\n", .{}); try stderr.print("zhttpd comes with ABSOLUTELY NO WARRANTY. This is ", .{}); |