summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-22 02:22:28 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-08-22 13:58:54 +0200
commitdb3c830afe3017eb2bc6f972e10404547c1a5d69 (patch)
tree51c3f3fb75c57f7a873c95fa4d0dd12115fd16e0 /tests/lib
parentlib: Add stream_resize_orig and stream_resize_inplace (diff)
downloadfrr-db3c830afe3017eb2bc6f972e10404547c1a5d69.tar.xz
frr-db3c830afe3017eb2bc6f972e10404547c1a5d69.zip
isisd, ospfd, tests: Switch to using stream_resize_inplace
Switch code and tests to use new stream_resize_inplace functionality. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/test_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_stream.c b/tests/lib/test_stream.c
index 5dc751a1b..2ecfc8794 100644
--- a/tests/lib/test_stream.c
+++ b/tests/lib/test_stream.c
@@ -57,7 +57,7 @@ int main(void)
print_stream(s);
- stream_resize(s, stream_get_endp(s));
+ stream_resize_inplace(&s, stream_get_endp(s));
print_stream(s);