Skip to content

Commit

Permalink
Fix accidentally commited missprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleb Pomykalov committed Apr 19, 2020
1 parent e4a1451 commit 0b14129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/socket/mod.rs
Expand Up @@ -855,7 +855,7 @@ pub fn sendmmsg<'a, I, C>(fd: RawFd, data: impl std::iter::IntoIterator<Item=&'a
let mut sent_bytes = Vec::with_capacity(sent_messages);
unsafe { sent_bytes.set_len(sent_messages) };

for i in 0..sent_messages
for i in 0..sent_messages {
sent_bytes[i] = initialized_data[i].msg_len as usize;
}

Expand Down

0 comments on commit 0b14129

Please sign in to comment.