Browse Source

quiet coverity warning

personal/stbuehler/mod-csrf
Glenn Strauss 5 years ago
parent
commit
d3cb9c8ced
  1. 2
      src/mod_deflate.c

2
src/mod_deflate.c

@ -1158,7 +1158,7 @@ CONNECTION_FUNC(mod_deflate_handle_response_start) {
buffer_string_set_length(ds->value, etaglen);
}
ds = (data_string *)array_get_element(con->response.headers, "Content-Encoding");
buffer_reset(ds->value); /* headers with empty values are ignored for output */
if (ds) buffer_reset(ds->value); /* headers with empty values are ignored for output */
return HANDLER_GO_ON;
}

Loading…
Cancel
Save