summaryrefslogtreecommitdiffstats
path: root/src/Common/UserInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/UserInfo.h')
-rw-r--r--src/Common/UserInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/UserInfo.h b/src/Common/UserInfo.h
index 94c0c60..b8897e3 100644
--- a/src/Common/UserInfo.h
+++ b/src/Common/UserInfo.h
@@ -39,8 +39,8 @@ class UserInfo {
void setUid(unsigned long newUid) {uid = newUid;}
unsigned long getUid() const {return uid;}
- void setGid(unsigned long newUid) {uid = newUid;}
- unsigned long getGid() const {return uid;}
+ void setGid(unsigned long newGid) {gid = newGid;}
+ unsigned long getGid() const {return gid;}
void setUsername(const std::string& newUsername) {username = newUsername;}
const std::string& getUsername() const {return username;}