diff options
author | Julien Dessaux | 2018-11-03 00:49:22 +0100 |
---|---|---|
committer | Julien Dessaux | 2018-11-07 14:37:50 +0100 |
commit | 03f712e58327e5b15856082074062b22fccb30bd (patch) | |
tree | 9671dcf756338dff4fe19daec2309b042977ba00 /src/recording.c | |
parent | Began implementing configuration fetching from an sshportal mysql database (diff) | |
download | bastion-03f712e58327e5b15856082074062b22fccb30bd.tar.gz bastion-03f712e58327e5b15856082074062b22fccb30bd.tar.bz2 bastion-03f712e58327e5b15856082074062b22fccb30bd.zip |
Implemented session id management and session logs in database
Diffstat (limited to '')
-rw-r--r-- | src/recording.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recording.c b/src/recording.c index a001607..7692ff1 100644 --- a/src/recording.c +++ b/src/recording.c @@ -54,7 +54,7 @@ make_filename(void) strcpy(filename + fname_pos, username); fname_pos += len; } else if (format[format_pos] == 'i') { - sprintf(filename + fname_pos, "%d", state_get_session_id()); + sprintf(filename + fname_pos, "%llu", state_get_session_id()); fname_pos += strlen(filename + fname_pos); } format_pos++; |