diff --git a/arangod/GeneralServer/VppCommTask.cpp b/arangod/GeneralServer/VppCommTask.cpp index 2961123ef7..eb40ba6e93 100644 --- a/arangod/GeneralServer/VppCommTask.cpp +++ b/arangod/GeneralServer/VppCommTask.cpp @@ -370,7 +370,7 @@ bool VppCommTask::processRead() { _request = new VppRequest(_connectionInfo, std::move(message)); GeneralServerFeature::HANDLER_FACTORY->setRequestContext(_request); - //make sure we have a dabase + // make sure we have a dabase if (_request->requestContext() == nullptr) { handleSimpleError(GeneralResponse::ResponseCode::NOT_FOUND, TRI_ERROR_ARANGO_DATABASE_NOT_FOUND, diff --git a/arangod/GeneralServer/VppCommTask.h b/arangod/GeneralServer/VppCommTask.h index 49362fd596..014573652d 100644 --- a/arangod/GeneralServer/VppCommTask.h +++ b/arangod/GeneralServer/VppCommTask.h @@ -83,13 +83,13 @@ class VppCommTask : public GeneralCommTask { }; std::unordered_map _incompleteMessages; - static size_t const _bufferLength = 4096UL; + static size_t const _bufferLength = 4096UL; static size_t const _chunkMaxBytes = 1000; struct ProcessReadVariables { ProcessReadVariables() : _currentChunkLength(0), _readBufferCursor(nullptr), - _cleanupLength(_bufferLength - _chunkMaxBytes - 1 ) {} + _cleanupLength(_bufferLength - _chunkMaxBytes - 1) {} uint32_t _currentChunkLength; // size of chunk processed or 0 when expecting // new chunk