Changeset 872 for trunk/src/core
- Timestamp:
- Feb 8, 2008, 2:01:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/RpLibrary.cc
r857 r872 2242 2242 if (user != NULL) { 2243 2243 username = std::string(user); 2244 } 2245 host = getenv("HOST"); 2246 if (host != NULL) { 2247 hostname = std::string(host); 2244 } else { 2245 user = getenv("LOGNAME"); 2246 if (user != NULL) { 2247 username = std::string(user); 2248 } 2248 2249 } 2249 2250 #endif
Note: See TracChangeset
for help on using the changeset viewer.