summaryrefslogtreecommitdiffstats
path: root/source/web
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-12-05 20:53:22 +0100
committerVolker Lendecke <vl@samba.org>2007-12-10 12:22:01 +0100
commit2f3c865707010bc7c463a02782dbee3dc2479da1 (patch)
tree74ba21daacb7e7d5b76c4d036240faa247ee6dc0 /source/web
parent1f317f471af72f8bbc6c9fdd3e79a27c59e6fb6e (diff)
downloadsamba-2f3c865707010bc7c463a02782dbee3dc2479da1.tar.gz
samba-2f3c865707010bc7c463a02782dbee3dc2479da1.tar.xz
samba-2f3c865707010bc7c463a02782dbee3dc2479da1.zip
Tiny simplifications
locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
Diffstat (limited to 'source/web')
-rw-r--r--source/web/statuspage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/statuspage.c b/source/web/statuspage.c
index 647e4fcb5b3..eda53b66ab3 100644
--- a/source/web/statuspage.c
+++ b/source/web/statuspage.c
@@ -427,7 +427,7 @@ void status_page(void)
printf("<table border=1>\n");
printf("<tr><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th></tr>\n", _("PID"), _("Sharing"), _("R/W"), _("Oplock"), _("File"), _("Date"));
- locking_init(1);
+ locking_init_readonly();
share_mode_forall(print_share_mode, NULL);
locking_end();
printf("</table>\n");