Removed unneeded buffer_is_empty check in stat cache

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2428 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.23
Stefan Bühler 14 years ago
parent 7fe794e1a2
commit 07d9517df6

@ -596,7 +596,7 @@ handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_
/* determine mimetype */
buffer_reset(sce->content_type);
#ifdef HAVE_XATTR
if (con->conf.use_xattr && buffer_is_empty(sce->content_type)) {
if (con->conf.use_xattr) {
stat_cache_attr_get(sce->content_type, name->ptr);
}
#endif

Loading…
Cancel
Save