ITS#9608 fix delete of nonexistent sessionlog

This commit is contained in:
Howard Chu 2021-07-13 12:10:28 +01:00
parent a464a6e98f
commit 0ae71bafcf

View File

@ -3658,7 +3658,8 @@ sp_cf_gen(ConfigArgs *c)
si->si_chktime = 0;
break;
case SP_SESSL:
si->si_logs->sl_size = 0;
if ( si->si_logs )
si->si_logs->sl_size = 0;
break;
case SP_NOPRES:
si->si_nopres = 0;