]> git.sesse.net Git - vlc/commitdiff
Revert "only print error when interface intialization failed not when it succeeded."
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 16 Jun 2009 14:08:08 +0000 (16:08 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 16 Jun 2009 14:08:08 +0000 (16:08 +0200)
This reverts commit 715d81c9c05db502aad22a201b8e2f4beb400cca.

src/control/core.c

index 42947e9c95408e0e3d437b5d9b8bb0878067cb92..ececd0ea0c72a6d468e8b1b97b509d1eb526f704 100644 (file)
@@ -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" );
 }