From 715d81c9c05db502aad22a201b8e2f4beb400cca Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Sun, 14 Jun 2009 19:55:54 +0200 Subject: [PATCH] only print error when interface intialization failed not when it succeeded. (cherry picked from commit 503c860af9e3152af19d7123fae37727c82896b7) Signed-off-by: Derk-Jan Hartman --- src/control/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/core.c b/src/control/core.c index ececd0ea0c..42947e9c95 100644 --- a/src/control/core.c +++ b/src/control/core.c @@ -187,7 +187,7 @@ void libvlc_release( libvlc_instance_t *p_instance ) void libvlc_add_intf( libvlc_instance_t *p_i, const char *name, libvlc_exception_t *p_e ) { - if( libvlc_InternalAddIntf( p_i->p_libvlc_int, name ) ) + if( !libvlc_InternalAddIntf( p_i->p_libvlc_int, name ) ) RAISEVOID( "Interface initialization failed" ); } -- 2.39.2