From c7ed14c9564bfd2f78999a9737edf59164147e2b Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 20 Feb 2022 19:05:54 -0500 Subject: [PATCH] Adjust debugging message from sockets test --- dlib/test/sockets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlib/test/sockets.cpp b/dlib/test/sockets.cpp index aefaf137f..fd6c36b69 100644 --- a/dlib/test/sockets.cpp +++ b/dlib/test/sockets.cpp @@ -212,14 +212,14 @@ namespace { // wait until all the sending threads have ended stuff.wait(); + srv.clear(); + if (srv.error_occurred) { dlog << LDEBUG << "tag: " << srv.tag; cout << "srv.error_occurred, tag: " << srv.tag << endl; } - srv.clear(); - dlog << LTRACE << "ending successful test"; DLIB_TEST( !srv.error_occurred); DLIB_TEST( srv.got_connections);