summaryrefslogtreecommitdiff
path: root/perf/cpp/local_thr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cpp/local_thr.cpp')
-rw-r--r--perf/cpp/local_thr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/cpp/local_thr.cpp b/perf/cpp/local_thr.cpp
index ca81ba9..31fcd16 100644
--- a/perf/cpp/local_thr.cpp
+++ b/perf/cpp/local_thr.cpp
@@ -49,7 +49,7 @@ int main (int argc, char *argv [])
int rc = gettimeofday (&start, NULL);
assert (rc == 0);
- for (int i = 0; i != message_count - 1; i++) {
+ for (int i = 1; i != message_count; i++) {
s.recv (&msg);
assert (msg.size () == message_size);
}