RopRestrict: initialize the table status to a default value of TBLSTAT_COMPLETE
authorwsourdeau <wsourdeau@71d39326-ef09-db11-b2a4-00e04c779ad1>
Fri, 7 Jan 2011 19:58:14 +0000 (19:58 +0000)
committerwsourdeau <wsourdeau@71d39326-ef09-db11-b2a4-00e04c779ad1>
Fri, 7 Jan 2011 19:58:14 +0000 (19:58 +0000)
git-svn-id: https://svn.openchange.org/openchange@2495 71d39326-ef09-db11-b2a4-00e04c779ad1

branches/sogo/mapiproxy/servers/default/emsmdb/oxctabl.c

index 5b506bfa726ac078d86d82131011332b527f50e8..cf3182de715b388efb55f1425f0d9c2d951efe43 100644 (file)
@@ -237,6 +237,7 @@ _PUBLIC_ enum MAPISTATUS EcDoRpc_RopRestrict(TALLOC_CTX *mem_ctx,
 
        /* If parent folder has a mapistore context */
        if (table->mapistore) {
+               status = TBLSTAT_COMPLETE;
                retval = mapistore_set_restrictions(emsmdbp_ctx->mstore_ctx, table->contextID, 
                                                    table->folderID, table->ulType, &request.restrictions, &status);
                if (retval) {