diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-12-12 01:33:12 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-09 13:56:06 +0100 |
commit | 6e9a50e37e51564c9d5f84e156c33af7e93cc2b8 (patch) | |
tree | 0ded25223d11088269a86d7100d83b74458e2e1a /tools | |
parent | e14bf3cdcf43bce1592c950472b9f87b77fb2f39 (diff) | |
download | msitools-6e9a50e37e51564c9d5f84e156c33af7e93cc2b8.tar.gz msitools-6e9a50e37e51564c9d5f84e156c33af7e93cc2b8.tar.xz msitools-6e9a50e37e51564c9d5f84e156c33af7e93cc2b8.zip |
query: return TRUE on success, add GError
Diffstat (limited to 'tools')
-rw-r--r-- | tools/msibuild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/msibuild.c b/tools/msibuild.c index d437292..e8b9e75 100644 --- a/tools/msibuild.c +++ b/tools/msibuild.c @@ -195,7 +195,7 @@ static int add_stream(const char *stream, const char *file, GError **error) fprintf(stderr, "failed to execute query (%u)\n", r); g_object_unref(rec); - libmsi_query_close(query); + libmsi_query_close(query, error); g_object_unref(query); return r; } @@ -216,7 +216,7 @@ static int do_query(const char *sql, void *opaque) if (r != LIBMSI_RESULT_SUCCESS) fprintf(stderr, "failed to execute query (%u)\n", r); - libmsi_query_close(query); + libmsi_query_close(query, error); g_object_unref(query); return r; } |