[vlc-commits] logger: cascade if/else for different modes
Rafaël Carré
git at videolan.org
Wed Jan 25 07:50:21 CET 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Jan 25 01:38:32 2012 -0500| [954295dcce2e4f82f5ac5ca3aacf68b9f71f7d50] | committer: Rafaël Carré
logger: cascade if/else for different modes
(cherry picked from commit 2e86bc8f278a18d7be6d0d2d8a00505ed24efba1)
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=954295dcce2e4f82f5ac5ca3aacf68b9f71f7d50
---
modules/misc/logger.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index dbd8483..481d262 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -265,7 +265,11 @@ static int Open( vlc_object_t *p_this )
else
#endif
#ifdef __ANDROID__
- if( cb != AndroidPrint )
+ if( cb == AndroidPrint )
+ {
+ /* nothing to do */
+ }
+ else
#endif
{
char *psz_file = var_InheritString( p_intf, "logfile" );
More information about the vlc-commits
mailing list