Browse Source

removed warning

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@988 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 17 years ago
parent
commit
dfd9915628
  1. 2
      src/mod_staticfile.c

2
src/mod_staticfile.c

@ -443,7 +443,7 @@ URIHANDLER_FUNC(mod_staticfile_subrequest) {
int do_range_request = 1;
/* check if we have a conditional GET */
if (NULL != (ds = array_get_element(con->request.headers, "If-Range"))) {
if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If-Range"))) {
/* if the value is the same as our ETag, we do a Range-request,
* otherwise a full 200 */

Loading…
Cancel
Save