1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

re-fix error

This commit is contained in:
Rene Schallner 2024-04-21 14:24:17 +02:00
parent 1e1999802a
commit 540c2043fb

View file

@ -111,7 +111,7 @@ pub const HttpParamBinaryFile = struct {
filename: ?[]const u8 = null, filename: ?[]const u8 = null,
/// format function for printing file upload data /// format function for printing file upload data
pub fn format(value: @This(), comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype) std.os.WriteError!void { pub fn format(value: @This(), comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype) !void {
const d = value.data orelse "\\0"; const d = value.data orelse "\\0";
const m = value.mimetype orelse "null"; const m = value.mimetype orelse "null";
const f = value.filename orelse "null"; const f = value.filename orelse "null";