[vlc-devel] commit: logger: Mac OS X compile fix (Derk-Jan Hartman )

git version control git at videolan.org
Wed Oct 15 17:26:28 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Mon Oct 13 17:57:45 2008 +0200| [b8efc4e05c71068c8d409f94287aa4dc61582f21] | committer: Derk-Jan Hartman 

logger: Mac OS X compile fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8efc4e05c71068c8d409f94287aa4dc61582f21
---

 modules/misc/logger.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 45d2588..e56e81b 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -210,7 +210,7 @@ static int Open( vlc_object_t *p_this )
         {
 #ifdef __APPLE__
             if( asprintf( &psz_file, "%s/"LOG_DIR"/%s", config_GetHomeDir(),
-                (p_sys->i_mode == MODE_HTML) ? LOG_FILE_HTML
+                (p_sys->msg.i_mode == MODE_HTML) ? LOG_FILE_HTML
                                              : LOG_FILE_TEXT ) == -1 )
                 psz_file = NULL;
 #else




More information about the vlc-devel mailing list