TT#97301 fix bit-setting of negative log levels

Change-Id: I383645d874f17a128385aae8a0f1e3f7f9b99ff3
pull/1164/head
Richard Fuchs 5 years ago
parent 68be3d2afb
commit d466e5c326

@ -1956,6 +1956,7 @@ int redis_restore(struct redis *r) {
err: err:
for (unsigned int i = 0; i < num_log_levels; i++) for (unsigned int i = 0; i < num_log_levels; i++)
if (rtpe_config.common.log_levels[i] > 0)
rtpe_config.common.log_levels[i] &= ~LOG_FLAG_RESTORE; rtpe_config.common.log_levels[i] &= ~LOG_FLAG_RESTORE;
return ret; return ret;
} }

Loading…
Cancel
Save