]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
sdbox: Removed flock() check. It's not used by sdbox.
authorTimo Sirainen <tss@iki.fi>
Thu, 15 Jul 2010 15:05:05 +0000 (16:05 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 15 Jul 2010 15:05:05 +0000 (16:05 +0100)
src/lib-storage/index/dbox-single/sdbox-storage.c

index 08c73bde14ece6389fec311b541019244acb799a..56c23285b041d79945c2d924af2ccfc468233fdb 100644 (file)
@@ -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;
 }