diff options
author | timestep <[email protected]> | 2022-02-10 16:49:17 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:17 +0300 |
commit | 30f4921b0fa8722e5531e72cb40a93b526f6973a (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util | |
parent | 38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/network/address.cpp | 2 | ||||
-rw-r--r-- | util/stream/zlib.cpp | 2 | ||||
-rw-r--r-- | util/system/shellcommand.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/util/network/address.cpp b/util/network/address.cpp index 058173084a6..a81a9e69941 100644 --- a/util/network/address.cpp +++ b/util/network/address.cpp @@ -137,7 +137,7 @@ IRemoteAddrPtr NAddr::GetSockAddr(SOCKET s) { ythrow TSystemError() << "getsockname() failed"; } - return addr; + return addr; } IRemoteAddrPtr NAddr::GetPeerAddr(SOCKET s) { diff --git a/util/stream/zlib.cpp b/util/stream/zlib.cpp index 080a4daab94..60f4e9439f0 100644 --- a/util/stream/zlib.cpp +++ b/util/stream/zlib.cpp @@ -210,7 +210,7 @@ public: // Create exactly the same files on all platforms by fixing OS field in the header. if (p.Type == ZLib::GZip) { - GZHeader_ = MakeHolder<gz_header>(); + GZHeader_ = MakeHolder<gz_header>(); GZHeader_->os = 3; // UNIX deflateSetHeader(Z(), GZHeader_.Get()); } diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp index d2546206e7b..b1989b5c8c3 100644 --- a/util/system/shellcommand.cpp +++ b/util/system/shellcommand.cpp @@ -59,7 +59,7 @@ namespace { #if defined(_unix_) void SetUserGroups(const passwd* pw) { int ngroups = 1; - THolder<gid_t, TFree> groups = THolder<gid_t, TFree>(static_cast<gid_t*>(malloc(ngroups * sizeof(gid_t)))); + THolder<gid_t, TFree> groups = THolder<gid_t, TFree>(static_cast<gid_t*>(malloc(ngroups * sizeof(gid_t)))); if (getgrouplist(pw->pw_name, pw->pw_gid, reinterpret_cast<TGetGroupListGid*>(groups.Get()), &ngroups) == -1) { groups.Reset(static_cast<gid_t*>(malloc(ngroups * sizeof(gid_t)))); if (getgrouplist(pw->pw_name, pw->pw_gid, reinterpret_cast<TGetGroupListGid*>(groups.Get()), &ngroups) == -1) { |