Revision e81b440f nest/cli.c

View differences:

nest/cli.c
357 357
	free = (c->ring_end - c->ring_buf) - (c->ring_write - c->ring_read + 1);
358 358
      else
359 359
	free = c->ring_read - c->ring_write - 1;
360
      if (len > free ||
361
	  free < c->log_threshold && class < (unsigned) L_INFO[0])
360
      if ((len > free) ||
361
	  (free < c->log_threshold && class < (unsigned) L_INFO[0]))
362 362
	{
363 363
	  c->ring_overflow++;
364 364
	  continue;

Also available in: Unified diff