When using the suppress-timestamps option, the following option
parameter is incorrectly skipped. The ++i must be remove.
REM: this is not an issue in rev 2.1 beta because the parameter count
method has changed.
 
Rev 2.0.5
 
  else if (streq (p[0], "suppress-timestamps"))
    {
      ++i;    <------- to remove
      VERIFY_PERMISSION (OPT_P_GENERAL);
      options->suppress_timestamps = true;
      set_suppress_timestamps(true);
    }

 
Should be (there is only one parameter for this option)
 
  else if (streq (p[0], "suppress-timestamps"))
    {
      VERIFY_PERMISSION (OPT_P_GENERAL);
      options->suppress_timestamps = true;
      set_suppress_timestamps(true);
    }

 
 

Reply via email to