Changeset 149 for trunk/src/sh_utmp.c
- Timestamp:
- Jan 7, 2008, 8:52:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_utmp.c
r144 r149 227 227 }; 228 228 229 int sh_utmp_null() 230 { 231 return 0; 232 } 233 234 229 static void set_defaults(void) 230 { 231 ShUtmpLoginSolo = SH_ERR_INFO; 232 ShUtmpLoginMulti = SH_ERR_WARN; 233 ShUtmpLogout = SH_ERR_INFO; 234 ShUtmpActive = S_TRUE; 235 ShUtmpInterval = 300; 236 return; 237 } 235 238 236 239 … … 535 538 * can be re-enabled. 536 539 */ 537 ShUtmpActive = S_TRUE;540 set_defaults(); 538 541 init_done = 0; 539 542 SL_RETURN( (0), _("sh_utmp_end")); 543 } 544 545 int sh_utmp_reconf() 546 { 547 set_defaults(); 548 return 0; 540 549 } 541 550
Note:
See TracChangeset
for help on using the changeset viewer.