summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-16 23:08:26 +0000
committerDavid Robillard <d@drobilla.net>2011-05-16 23:08:26 +0000
commitd6b69d9930b6bd918db346f8a03a99ed1e25cf65 (patch)
tree46e10e72ec094cf0a286afdbaaa08f529d84c597
parent9f095d02e31865762cc7964862c85cd33d7ae5cd (diff)
downloadsord-d6b69d9930b6bd918db346f8a03a99ed1e25cf65.tar.gz
sord-d6b69d9930b6bd918db346f8a03a99ed1e25cf65.tar.bz2
sord-d6b69d9930b6bd918db346f8a03a99ed1e25cf65.zip
Fix return value.
git-svn-id: http://svn.drobilla.net/sord/trunk@120 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r--src/sordi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sordi.c b/src/sordi.c
index 7db7543..3430ef4 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -161,10 +161,10 @@ main(int argc, char** argv)
bool success = false;
if (from_file) {
- sord_read_file_handle(sord, env, in_fd, in_name,
- base_uri_str, NULL, NULL);
+ success = sord_read_file_handle(sord, env, in_fd, in_name,
+ base_uri_str, NULL, NULL);
} else {
- sord_read_string(sord, env, input, base_uri_str);
+ success = sord_read_string(sord, env, input, base_uri_str);
}
fprintf(stderr, "Loaded %zu statements\n", sord_num_quads(sord));