Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
ReceivedBufferString in CalDAVReceive not required.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 16 Jul 2016 06:04:23 +0000 (07:04 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 16 Jul 2016 06:04:23 +0000 (07:04 +0100)
source/objects/CalDAV/CalDAV.cpp

index 4e476df..dfddd87 100644 (file)
@@ -23,10 +23,7 @@ using namespace std;
 size_t CalDAVReceive(char *ReceivedBuffer, size_t Size, size_t NewMemoryBytes, string *StringPointer)
 {
        
-       string ReceivedBufferString = "";
-       ReceivedBufferString.append(ReceivedBuffer, NewMemoryBytes);
-       
-       StringPointer->append(ReceivedBufferString);
+       StringPointer->append(ReceivedBuffer, NewMemoryBytes);
        
        return Size * NewMemoryBytes;
        
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy