mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:10:12 +01:00
session fix
Change-Id: I1d4e8057f8db594981072584dd3a370795c8d727 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
3174bcb016
commit
ef767e83a0
@ -126,7 +126,7 @@ int handle_smtp_session(struct session_ctx *sctx){
|
|||||||
|
|
||||||
|
|
||||||
gettimeofday(&tv2, &tz);
|
gettimeofday(&tv2, &tz);
|
||||||
sdata.__acquire = tvdiff(tv2, tv1);
|
sctx->sdata->__acquire = tvdiff(tv2, tv1);
|
||||||
|
|
||||||
|
|
||||||
if(rc){
|
if(rc){
|
||||||
@ -348,7 +348,7 @@ QUITTING:
|
|||||||
close_database(sctx->sdata);
|
close_database(sctx->sdata);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(sdata.tls == 1){
|
if(sctx->sdata->tls == 1){
|
||||||
SSL_shutdown(sctx->data->ssl);
|
SSL_shutdown(sctx->data->ssl);
|
||||||
SSL_free(sctx->data->ssl);
|
SSL_free(sctx->data->ssl);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user