diff options
Diffstat (limited to 'protocols/Tox/src/tox_search.cpp')
-rw-r--r-- | protocols/Tox/src/tox_search.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp index df15a4ab78..6c99ad123c 100644 --- a/protocols/Tox/src/tox_search.cpp +++ b/protocols/Tox/src/tox_search.cpp @@ -59,6 +59,8 @@ ToxHexAddress ResolveToxAddressFromDns(const char *dnsQuery) void CToxProto::SearchByNameAsync(void *arg)
{
+ Thread_SetName("TOX: SearchByNameAsync");
+
char *query = (char*)arg;
char *name = strtok(query, "@");
char *domain = strtok(NULL, "");
@@ -145,6 +147,7 @@ void CToxProto::SearchByNameAsync(void *arg) void CToxProto::SearchFailedAsync(void*)
{
+ Thread_SetName("TOX: SearchFailedAsync");
ProtoBroadcastAck(NULL, ACKTYPE_SEARCH, ACKRESULT_FAILED, (HWND)1, 0);
}
|