Commit 1833bee4 authored by Andreas Schmidt's avatar Andreas Schmidt

Fix indexing.

parent b10cd23a
......@@ -119,7 +119,7 @@ int main(int argc, char **argv) {
sprintf(buf, "%10d", j);
memcpy(buf + 20, &now, sizeof(struct timespec));
_send(s, buf, sizeof(buf));
_send(s, buf, buffer_size * sizeof(char));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment