Searched refs:temporaryBuffer (Results 1 - 1 of 1) sorted by relevance

/haiku/src/kits/network/libnetapi/
H A DNetworkRequest.cpp103 char* temporaryBuffer = new(std::nothrow) char[characterIndex + 1]; local
104 if (temporaryBuffer == NULL)
107 fInputBuffer.RemoveData(temporaryBuffer, characterIndex + 1);
110 if (characterIndex != 0 && temporaryBuffer[characterIndex - 1] == '\r')
111 destString.SetTo(temporaryBuffer, characterIndex - 1);
113 destString.SetTo(temporaryBuffer, characterIndex);
115 delete[] temporaryBuffer;

Completed in 100 milliseconds