For clarity, this is probably better written as:
```
if (MCS_getenv(MCSTR("GATEWAY_INTERFACE"), &t_env))
  s_server_cgi = true;
else
  s_server_cgi = false;
```