Skip to content

Commit f207a55

Browse files
committed
Minor reformatting of receiver.cpp
1 parent aefc2ab commit f207a55

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

receiver/apsi/receiver.cpp

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,7 @@ namespace apsi {
461461
if (received_label_byte_count < nonce_byte_count) {
462462
APSI_LOG_WARNING(
463463
"Expected " << nonce_byte_count
464-
<< " bytes of nonce data in this result part but "
465-
"only "
464+
<< " bytes of nonce data in this result part but only "
466465
<< received_label_byte_count
467466
<< " bytes were received; ignoring the label data");
468467

@@ -519,10 +518,9 @@ namespace apsi {
519518
// If a positive MatchRecord is already present, then something is seriously wrong
520519
if (mrs[item_idx]) {
521520
APSI_LOG_ERROR("The table index -> item index translation table indicated a "
522-
"location that was "
523-
"already filled by another match from this result package; the "
524-
"translation table (query) "
525-
"has probably been corrupted");
521+
"location that was already filled by another match from this "
522+
"result package; the translation table (query) has probably "
523+
"been corrupted");
526524

527525
throw runtime_error(
528526
"found a duplicate positive match; something is seriously wrong");
@@ -669,11 +667,8 @@ namespace apsi {
669667
// wrong
670668
APSI_LOG_ERROR(
671669
"Result worker [" << this_thread::get_id()
672-
<< "]: "
673-
"found a match for items["
674-
<< get<2>(I)
675-
<< "] "
676-
"but an existing match for this location was "
670+
<< "]: found a match for items[" << get<2>(I)
671+
<< "] but an existing match for this location was "
677672
"already found before from a different result "
678673
"part");
679674

0 commit comments

Comments
 (0)