Browse Source

fix undefined value for log_level when not set in the conf file

experimental/lemon
Jérôme Loyet 16 years ago
parent
commit
257a8dac20
  1. 2
      sapi/fpm/fpm/zlog.c

2
sapi/fpm/fpm/zlog.c

@ -51,6 +51,8 @@ int zlog_set_level(int new_value) /* {{{ */
{
int old_value = zlog_level;
if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value;
zlog_level = new_value;
return old_value;
}

Loading…
Cancel
Save