mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd::net: Fix error.
This commit is contained in:
parent
6643cad758
commit
c3423ad80b
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ ircd::net::discard_all(socket &socket,
|
|||
};
|
||||
|
||||
__builtin_prefetch(data(mb), 1, 0); // 1 = write, 0 = no cache
|
||||
read_all(socket, mb);
|
||||
remain -= read_all(socket, mb);
|
||||
}
|
||||
|
||||
return len;
|
||||
|
|
Loading…
Reference in a new issue