vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun Feb  8 
14:23:49 2015 +0200| [4ea6b96bce3e8b36bd997afbc7794462d482e0c5] | committer: 
Rémi Denis-Courmont

libvlc: provide file name and line number

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

 lib/log.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/log.c b/lib/log.c
index 1e5094b..bd774b9 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -42,9 +42,9 @@ void libvlc_log_get_context(const libvlc_log_t *ctx,
     if (module != NULL)
         *module = ctx->psz_module;
     if (file != NULL)
-        *file = NULL;
+        *file = ctx->file;
     if (line != NULL)
-        *line = 0;
+        *line = ctx->line;
 }
 
 void libvlc_log_get_object(const libvlc_log_t *ctx,

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to