changeset 11824:8af3e40dd614

sdbox: Removed flock() check. It's not used by sdbox.
author Timo Sirainen <tss@iki.fi>
date Thu, 15 Jul 2010 16:05:05 +0100
parents 4138737f41e6
children b6693d570960
files src/lib-storage/index/dbox-single/sdbox-storage.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-single/sdbox-storage.c	Thu Jul 15 15:28:32 2010 +0100
+++ b/src/lib-storage/index/dbox-single/sdbox-storage.c	Thu Jul 15 16:05:05 2010 +0100
@@ -32,13 +32,6 @@
 		     struct mail_namespace *ns ATTR_UNUSED,
 		     const char **error_r ATTR_UNUSED)
 {
-#ifndef HAVE_FLOCK
-	if (master_service_get_client_limit(master_service) > 1) {
-		*error_r = "sdbox requires client_limit=1 for service "
-			"since your OS doesn't support flock()";
-		return -1;
-	}
-#endif
 	return 0;
 }