From ee9291e3fcdcd9984e1853941f7fffb4d5873d61 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 May 2011 23:47:57 +0000 Subject: Print (stdin) as file in error messages when reading stdin git-svn-id: http://svn.drobilla.net/serd/trunk@179 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/serdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/serdi.c b/src/serdi.c index 7d29a9cf..1d6a8663 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -177,7 +177,7 @@ main(int argc, char** argv) (SerdEndSink)serd_writer_end_anon); const SerdStatus status = (from_file) - ? serd_reader_read_file(reader, in_fd, input) + ? serd_reader_read_file(reader, in_fd, (const uint8_t*)in_name) : serd_reader_read_string(reader, input); serd_reader_free(reader); -- cgit v1.2.1