1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 08:14:15 +00:00

move thread naming to util

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2020-12-07 06:31:46 +03:00
parent 3100d4f902
commit 9a2c6a7619
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -748,7 +748,8 @@ namespace client
void AddressBookSubscription::CheckUpdates ()
{
pthread_setname_np(pthread_self(), "Addressbook");
i2p::util::SetThreadName("Addressbook");
bool result = MakeRequest ();
m_Book.DownloadComplete (result, m_Ident, m_Etag, m_LastModified);
}