diff --git a/src/lib-sieve/sieve-actions.c b/src/lib-sieve/sieve-actions.c
index 839478bdaf79d73c566c712ef5471c684c0e40cb..c1bdce0e24e11221a8d7f0418cddd27a98960a8c 100644
--- a/src/lib-sieve/sieve-actions.c
+++ b/src/lib-sieve/sieve-actions.c
@@ -217,9 +217,9 @@ static struct mailbox *act_store_mailbox_open
 
 		*ns_r = mail_namespace_find(aenv->scriptenv->namespaces, &folder);
     	if ( *ns_r == NULL) {
-        	*storage = NULL;
-	        return NULL;
-    	}
+			*storage = NULL;
+			return NULL;
+		}
 	}
 
 	/* First attempt at opening the box */