ports/www/lighttpd/files/patch-src__mod_webdav.c
Marcus Alves Grando 1009be28b6 - Update to 1.4.13 [1]
- Add options for bzip2, fam, gdbm, memcache, and valgrind [1]
- Fix build in 4.x

PR:		104239 [1]
Submitted by:	Gea-Suan Lin <gslin___gslin.org> [1]
Approved by:	maintainer timeout (21 days)
2006-10-31 03:22:20 +00:00

18 lines
385 B
C

--- src/mod_webdav.c.orig Tue Oct 10 01:08:09 2006
+++ src/mod_webdav.c Tue Oct 10 01:09:02 2006
@@ -1151,11 +1151,13 @@
*
*/
int webdav_has_lock(server *srv, connection *con, plugin_data *p, buffer *uri) {
- UNUSED(srv);
int has_lock = 1;
-
#ifdef USE_LOCKS
data_string *ds;
+#endif
+ UNUSED(srv);
+
+#ifdef USE_LOCKS
/**
* This implementation is more fake than real