diff options
author | David Robillard <d@drobilla.net> | 2011-05-15 23:47:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-15 23:47:57 +0000 |
commit | ee9291e3fcdcd9984e1853941f7fffb4d5873d61 (patch) | |
tree | c4fdb9bc43a0c900d7bd0ebb0b944ce867e79de3 /src | |
parent | 45c5f6b3d6903f31eb2386c41f8a21d391404120 (diff) | |
download | serd-ee9291e3fcdcd9984e1853941f7fffb4d5873d61.tar.gz serd-ee9291e3fcdcd9984e1853941f7fffb4d5873d61.tar.bz2 serd-ee9291e3fcdcd9984e1853941f7fffb4d5873d61.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/serdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |