This commit is contained in:
Pierre Tachoire
2025-08-21 11:59:30 +02:00
parent ccc9618102
commit bc7e1e07f4

View File

@@ -359,7 +359,7 @@ fn perform(self: *Client, timeout_ms: c_int) !void {
var messages_count: c_int = 0; var messages_count: c_int = 0;
while (c.curl_multi_info_read(multi, &messages_count)) |msg_| { while (c.curl_multi_info_read(multi, &messages_count)) |msg_| {
const msg: *c.CURLMsg = @ptrCast(msg_); const msg: *c.CURLMsg = @ptrCast(msg_);
// This is the only possible mesage type from CURL for now. // This is the only possible message type from CURL for now.
std.debug.assert(msg.msg == c.CURLMSG_DONE); std.debug.assert(msg.msg == c.CURLMSG_DONE);
const easy = msg.easy_handle.?; const easy = msg.easy_handle.?;