diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
commit | 10807864acf73d00f425a23b442aac2cf34403a8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch/http_socket.cpp | |
parent | 13f84424ed9975f6827d9786087c6fe6ea265cda (diff) | |
download | ydb-10807864acf73d00f425a23b442aac2cf34403a8.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/http_socket.cpp')
-rw-r--r-- | library/cpp/http/fetch/http_socket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/fetch/http_socket.cpp b/library/cpp/http/fetch/http_socket.cpp index b8261febc9..1524ef04a8 100644 --- a/library/cpp/http/fetch/http_socket.cpp +++ b/library/cpp/http/fetch/http_socket.cpp @@ -40,7 +40,7 @@ static int gcry_pthread_mutex_init(void** priv) { int err = 0; try { - TMutex* lock = new TMutex; + TMutex* lock = new TMutex; *priv = lock; } catch (...) { err = -1; @@ -50,19 +50,19 @@ static int gcry_pthread_mutex_init(void** priv) { } static int gcry_pthread_mutex_destroy(void** lock) { - delete static_cast<TMutex*>(*lock); + delete static_cast<TMutex*>(*lock); return 0; } static int gcry_pthread_mutex_lock(void** lock) { - static_cast<TMutex*>(*lock)->Acquire(); + static_cast<TMutex*>(*lock)->Acquire(); return 0; } static int gcry_pthread_mutex_unlock(void** lock) { - static_cast<TMutex*>(*lock)->Release(); + static_cast<TMutex*>(*lock)->Release(); return 0; } |