X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fobjects%2FCalDAV%2FCalDAV-XMLProcessing.cpp;h=8f39d860781769c56308f085cbebfc3cff6908e9;hb=9dcad69a6d44601369836cbc712d5eb228628139;hp=239afe78df742164c462f1387f01d163a307a339;hpb=7a9f77048947cd2affd136f97aba1e16e27806d4;p=xestiacalendar%2F.git diff --git a/source/objects/CalDAV/CalDAV-XMLProcessing.cpp b/source/objects/CalDAV/CalDAV-XMLProcessing.cpp index 239afe7..8f39d86 100644 --- a/source/objects/CalDAV/CalDAV-XMLProcessing.cpp +++ b/source/objects/CalDAV/CalDAV-XMLProcessing.cpp @@ -49,6 +49,12 @@ string CalDAV::ProcessXMLUserPrincipal(){ } + if (NodeFound == false){ + + return UserPrincipalURI; + + } + // Look for response. if (NodeFound == false){ return UserPrincipalURI; } else { NodeFound = false; } @@ -113,6 +119,12 @@ string CalDAV::ProcessXMLCalendarHome(){ } + if (NodeFound == false){ + + return CalendarHomeURI; + + } + // Look for response. if (NodeFound == false){ return CalendarHomeURI; } else { NodeFound = false; } @@ -182,6 +194,12 @@ CalDAVCalendarList CalDAV::ProcessXMLCalendarList(){ } + if (NodeFound == false){ + + return CalendarList; + + } + for (NodeResponse = NodeSeek->children; NodeResponse != nullptr; NodeResponse = NodeResponse->next) @@ -399,6 +417,12 @@ string CalDAV::ProcessXMLEntryETag(){ } + if (NodeFound == false){ + + return EntryETag; + + } + // Look for response. if (NodeFound == false){ return EntryETag; } else { NodeFound = false; }