diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-22 02:22:28 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-22 13:58:54 +0200 |
commit | db3c830afe3017eb2bc6f972e10404547c1a5d69 (patch) | |
tree | 51c3f3fb75c57f7a873c95fa4d0dd12115fd16e0 /tests/lib | |
parent | lib: Add stream_resize_orig and stream_resize_inplace (diff) | |
download | frr-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.c | 2 |
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); |