diff options
author | David Robillard <d@drobilla.net> | 2011-01-28 23:35:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-28 23:35:43 +0000 |
commit | cfdea96ce4c01e0aa0bae41e084110d03135f06a (patch) | |
tree | b4ecfdd4395f47d9101f207b4bb1d2f798bfb0a0 /src/serdi.c | |
parent | 8addf2ddadd7094d1bb2bc93f6c33796870da226 (diff) | |
download | serd-cfdea96ce4c01e0aa0bae41e084110d03135f06a.tar.gz serd-cfdea96ce4c01e0aa0bae41e084110d03135f06a.tar.bz2 serd-cfdea96ce4c01e0aa0bae41e084110d03135f06a.zip |
Fix crashes when passed NULL nodes.
git-svn-id: http://svn.drobilla.net/serd/trunk@88 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-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 7a275e36..e85c9f70 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -204,7 +204,7 @@ main(int argc, char** argv) input += 5; } } - in_fd = fopen((const char*)input, "r"); + in_fd = fopen((const char*)input, "r"); if (!in_fd) { fprintf(stderr, "failed to open file %s\n", input); return 1; |