Skip to content

Add missing brackets for noDelay option

Just noticed this warning while working on !2 (merged): In member function ‘virtual void IPL4asp__PortType::IPL4asp__PT_PROVIDER::set_parameter(const char*, const char*)’: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  962 |    if (!strcasecmp(parameter_value,"YES"))
      |    ^~ note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  964 |       globalConnOpts.sctp_nodelay = GlobalConnOpts::YES;
      |       ^~~~~~~~~~~~~~

Merge request reports