Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
std::lock_guard<std::mutex> lock(d_mutex);
if (d_numthreads >= d_tcpclientthreads.size()) {
- vinfolog("Adding a new TCP client thread would exceed the vector capacity (%d/%d), skipping", d_numthreads.load(), d_tcpclientthreads.size());
+ vinfolog("Adding a new TCP client thread would exceed the vector size (%d/%d), skipping", d_numthreads.load(), d_tcpclientthreads.size());
if (!d_useSinglePipe) {
close(pipefds[0]);
close(pipefds[1]);