mirror of
https://github.com/matrix-construct/construct
synced 2024-06-11 06:28:55 +02:00
ircd::net: Fix error.
This commit is contained in:
parent
6643cad758
commit
c3423ad80b
|
@ -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