- Timestamp:
- 2011-12-24T18:02:39Z (13 years ago)
- Branches:
- master
- Children:
- 34ded90
- Parents:
- e306fbf (diff), 96f954d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unix.c
re306fbf r164352e 41 41 #include <pwd.h> 42 42 #include <locale.h> 43 #include <grp.h> 43 44 44 45 #if defined(OTR_BI) || defined(OTR_PI) … … 152 153 if( pw ) 153 154 { 155 initgroups( global.conf->user, pw->pw_gid ); 154 156 setgid( pw->pw_gid ); 155 157 setuid( pw->pw_uid ); 158 } 159 else 160 { 161 log_message( LOGLVL_WARNING, "Failed to look up user %s.", global.conf->user ); 156 162 } 157 163 }
Note: See TracChangeset
for help on using the changeset viewer.