diff options
| author | manuel <manuel@mausz.at> | 2018-04-16 15:52:10 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2018-04-16 15:52:10 +0200 |
| commit | 633250158229d6a161df8b037faeacb61f068471 (patch) | |
| tree | 3e8ed42228c66b032dac992c5baf288f33320aab /qmail-smtpd.c | |
| parent | 0f0b83fd3c6f2364274c4bc7af0931da553f2aa5 (diff) | |
| download | qmail-633250158229d6a161df8b037faeacb61f068471.tar.gz qmail-633250158229d6a161df8b037faeacb61f068471.tar.bz2 qmail-633250158229d6a161df8b037faeacb61f068471.zip | |
Initialize session early for logging
Diffstat (limited to 'qmail-smtpd.c')
| -rw-r--r-- | qmail-smtpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmail-smtpd.c b/qmail-smtpd.c index c283575..69b7dbb 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c | |||
| @@ -1218,6 +1218,7 @@ char *arg; | |||
| 1218 | 1218 | ||
| 1219 | switch (authcmds[i].fun(arg)) { | 1219 | switch (authcmds[i].fun(arg)) { |
| 1220 | case 0: | 1220 | case 0: |
| 1221 | (void)client_get_session_id(); /* generate session */ | ||
| 1221 | if (!spp_auth(authcmds[i].text, user.s)) return; | 1222 | if (!spp_auth(authcmds[i].text, user.s)) return; |
| 1222 | flagauth = 1; | 1223 | flagauth = 1; |
| 1223 | if (ssl) { | 1224 | if (ssl) { |
