diff options
author | 2023-09-17 19:41:51 -0700 | |
---|---|---|
committer | 2023-09-17 19:41:51 -0700 | |
commit | 57e38e831222add628b25e72cbcaff84c71c4a4c (patch) | |
tree | d9fe7d11ec547e7cb134f2af28f9fa40c7d4cd95 /src | |
parent | ffa88a1f812e6973a85fded36ec2fd3c8dc97fe2 (diff) | |
download | bun-57e38e831222add628b25e72cbcaff84c71c4a4c.tar.gz bun-57e38e831222add628b25e72cbcaff84c71c4a4c.tar.zst bun-57e38e831222add628b25e72cbcaff84c71c4a4c.zip |
Fix assertion failure in debug builds
Diffstat (limited to 'src')
-rw-r--r-- | src/http/mime_type.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/mime_type.zig b/src/http/mime_type.zig index fb4043482..555adaa70 100644 --- a/src/http/mime_type.zig +++ b/src/http/mime_type.zig @@ -133,7 +133,7 @@ pub fn init(str_: string, allocator: ?std.mem.Allocator, allocated: ?*bool) Mime } } - if (strings.eqlComptimeIgnoreLen(str, "octet-stream")) { + if (strings.eqlComptime(str, "octet-stream")) { return other; } |