From ab8851b48622dba2d2954306cd48c5c14c91db72 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Mon, 21 Oct 2019 17:22:51 +0300 Subject: test: reset the output stream correctly. As we can now use NULL to again start using whichever stream is default, do the right thing from now on. Signed-off-by: Gediminas Jakutis --- test/diagnostic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/diagnostic.c b/test/diagnostic.c index 8954473..0252771 100644 --- a/test/diagnostic.c +++ b/test/diagnostic.c @@ -134,7 +134,7 @@ static int info_test(void) } /* restore the default, kind of */ - rin_diag_set_outstream(rin_diag_info, stdout); + rin_diag_set_outstream(rin_diag_info, NULL); return ret; } -- cgit v1.2.3