summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authortimestep <[email protected]>2022-02-10 16:49:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:17 +0300
commit38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch)
tree7570cb7cabf97af7ecb6ffe485e8037d516daa29 /util
parenta0ffafe83b7d6229709a32fa942c71d672ac989c (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/network/address.cpp2
-rw-r--r--util/stream/zlib.cpp2
-rw-r--r--util/system/shellcommand.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/util/network/address.cpp b/util/network/address.cpp
index a81a9e69941..058173084a6 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 60f4e9439f0..080a4daab94 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 b1989b5c8c3..d2546206e7b 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) {