Skip to content

Commit 8e833d4

Browse files
committed
chore(routing_trie): change error to MissingSeperator
1 parent 6641604 commit 8e833d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/form.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn construct_map_from_body(allocator: std.mem.Allocator, m: *AnyCaseStringMap, b
6969
var pairs = std.mem.splitScalar(u8, body, '&');
7070

7171
while (pairs.next()) |pair| {
72-
const field_idx = std.mem.indexOfScalar(u8, pair, '=') orelse return error.MissingValue;
72+
const field_idx = std.mem.indexOfScalar(u8, pair, '=') orelse return error.MissingSeperator;
7373
if (pair.len < field_idx + 2) return error.MissingValue;
7474

7575
const key = pair[0..field_idx];

0 commit comments

Comments
 (0)