1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00

fixed wrk code after introducing error

This commit is contained in:
Rene Schallner 2023-03-10 12:00:21 +01:00
parent 1fcb11f03a
commit 894cf27716

View file

@ -2,7 +2,7 @@ const std = @import("std");
const zap = @import("zap"); const zap = @import("zap");
fn on_request_minimal(r: zap.SimpleRequest) void { fn on_request_minimal(r: zap.SimpleRequest) void {
_ = r.sendBody("Hello from ZAP!!!"); r.sendBody("Hello from ZAP!!!") catch return;
} }
pub fn main() !void { pub fn main() !void {