Commit 0ae71baf authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9608 fix delete of nonexistent sessionlog

parent a464a6e9
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment