summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-18 13:58:48 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2018-01-10 09:56:22 +0100
commit11c077cb1d5e9b0672331c865cd4ec9fe879e171 (patch)
treee6c39fda910f6b28e2e82cfff76bb95808173ce0 /searchlib
parentf148226ecd5daf4ae23f642bd3f731db748ddbdd (diff)
Balance vertical/horisontal bloat.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/transactionlog/domainpart.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/searchlib/src/vespa/searchlib/transactionlog/domainpart.cpp b/searchlib/src/vespa/searchlib/transactionlog/domainpart.cpp
index 06e0820c592..44f7b55882e 100644
--- a/searchlib/src/vespa/searchlib/transactionlog/domainpart.cpp
+++ b/searchlib/src/vespa/searchlib/transactionlog/domainpart.cpp
@@ -64,11 +64,8 @@ handleSync(FastOS_FileInterface &file)
}
string
-handleWriteError(const char *text,
- FastOS_FileInterface &file,
- int64_t lastKnownGoodPos,
- const Packet::Entry &entry,
- int bufLen)
+handleWriteError(const char *text, FastOS_FileInterface &file, int64_t lastKnownGoodPos,
+ const Packet::Entry &entry, int bufLen)
{
string last(FastOS_File::getLastErrorString());
string e(make_string("%s. File '%s' at position %" PRId64 " for entry %" PRIu64 " of length %u. "
@@ -110,12 +107,8 @@ tailOfFileIsZero(FastOS_FileInterface &file, int64_t lastKnownGoodPos)
}
bool
-handleReadError(const char *text,
- FastOS_FileInterface &file,
- ssize_t len,
- ssize_t rlen,
- int64_t lastKnownGoodPos,
- bool allowTruncate)
+handleReadError(const char *text, FastOS_FileInterface &file, ssize_t len, ssize_t rlen,
+ int64_t lastKnownGoodPos, bool allowTruncate)
{
bool retval(true);
if (rlen != -1) {