From: Timo Sirainen Date: Thu, 15 Jul 2010 15:05:05 +0000 (+0100) Subject: sdbox: Removed flock() check. It's not used by sdbox. X-Git-Tag: 2.0.rc3~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c51dc7df5256942f023947489fe085bc1b73951;p=thirdparty%2Fdovecot%2Fcore.git sdbox: Removed flock() check. It's not used by sdbox. --- diff --git a/src/lib-storage/index/dbox-single/sdbox-storage.c b/src/lib-storage/index/dbox-single/sdbox-storage.c index 08c73bde14..56c23285b0 100644 --- a/src/lib-storage/index/dbox-single/sdbox-storage.c +++ b/src/lib-storage/index/dbox-single/sdbox-storage.c @@ -32,13 +32,6 @@ sdbox_storage_create(struct mail_storage *storage ATTR_UNUSED, 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; }