0
0
Fork 0
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:
Jason Volk 2018-01-13 19:19:29 -08:00
parent 6643cad758
commit c3423ad80b

View file

@ -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;