diff options
author | 2019-10-21 17:22:51 +0300 | |
---|---|---|
committer | 2019-10-21 17:22:51 +0300 | |
commit | ab8851b48622dba2d2954306cd48c5c14c91db72 (patch) | |
tree | 8aebc8b0157f6ae1bb38953467dc6a6407e0d527 /test | |
parent | 654b47df33d6e1e6c73376393c2d4e9ad2a86baf (diff) | |
download | librin-ab8851b48622dba2d2954306cd48c5c14c91db72.tar.gz librin-ab8851b48622dba2d2954306cd48c5c14c91db72.tar.bz2 librin-ab8851b48622dba2d2954306cd48c5c14c91db72.zip |
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 <gediminas@varciai.lt>
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |