aboutsummaryrefslogtreecommitdiff
path: root/tests/iobuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/iobuf.h')
-rw-r--r--tests/iobuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/iobuf.h b/tests/iobuf.h
index 4e43338..737a8b7 100644
--- a/tests/iobuf.h
+++ b/tests/iobuf.h
@@ -135,7 +135,7 @@ iobuf_copy (struct iobuf *dst, struct iobuf *src)
iobuf_data_advance (src, n);
}
}
- return 0;
+ return n;
}

Return to:

Send suggestions and report system problems to the System administrator.