[tracker] Print filename it is processing on errors
- From: Ivan Frade <ifrade src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Print filename it is processing on errors
- Date: Thu, 11 Jun 2009 11:32:43 -0400 (EDT)
commit eb241a8f4c4a2a706679a4e5e3fe2043e4e53b9c
Author: Ivan Frade <ivan frade nokia com>
Date: Thu Jun 11 17:20:36 2009 +0300
Print filename it is processing on errors
utils/services/data-validator.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/utils/services/data-validator.c b/utils/services/data-validator.c
index 788c2d6..0423e12 100644
--- a/utils/services/data-validator.c
+++ b/utils/services/data-validator.c
@@ -126,9 +126,9 @@ process_file (const gchar *ttl_file, TurtleTripleCallback handler, void *user_da
raptor_set_statement_handler (parser, user_data,
handler);
- raptor_set_fatal_error_handler (parser, (void *)file, raptor_error);
- raptor_set_error_handler (parser, (void *)file, raptor_error);
- raptor_set_warning_handler (parser, (void *)file, raptor_error);
+ raptor_set_fatal_error_handler (parser, (void *)ttl_file, raptor_error);
+ raptor_set_error_handler (parser, (void *)ttl_file, raptor_error);
+ raptor_set_warning_handler (parser, (void *)ttl_file, raptor_error);
uri_string = raptor_uri_filename_to_uri_string (ttl_file);
uri = raptor_new_uri (uri_string);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]