diff options
Diffstat (limited to 'source3/utils/status.c')
-rw-r--r-- | source3/utils/status.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 0b0c591cb1..b1e8bb9d8e 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -37,6 +37,14 @@ extern BOOL AllowDebugChange; +struct session_record{ + pid_t pid; + uid_t uid; + char machine[31]; + time_t start; + struct session_record *next; +} *srecs; + static pstring Ucrit_username = ""; /* added by OH */ static pid_t Ucrit_pid[100]; /* Ugly !!! */ /* added by OH */ static int Ucrit_MaxPid=0; /* added by OH */ @@ -551,7 +559,7 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo {"brief", 'b', POPT_ARG_NONE, &brief}, {"profile", 'P', POPT_ARG_NONE, &profile_only}, {"byterange", 'B', POPT_ARG_NONE, &show_brl}, - { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug }, + {"debug", 'd', POPT_ARG_STRING, &new_debuglevel}, { 0, 0, 0, 0} }; |