[vlc-commits] libvlc: provide file name and line number
Rémi Denis-Courmont
git at videolan.org
Sun Feb 8 13:57:22 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at 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,
More information about the vlc-commits
mailing list