diff --git a/comms/Dali.cpp b/comms/Dali.cpp index 71ac5a9b..71e238eb 100644 --- a/comms/Dali.cpp +++ b/comms/Dali.cpp @@ -321,6 +321,7 @@ bool ProtectWorkunits(const CString & url, IWorkunitVector *workunits, bool prot _ns6__WUProtect request; ns6__EspStringArray espStringArray; request.Wuids = &espStringArray; + request.Protect = protect; for (unsigned i = 0; i < workunits->size(); ++i) espStringArray.Item.push_back(stringPool.Create((*workunits)[i]->GetWuid()));