diff options
| author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-12-17 12:11:39 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-09 13:56:07 +0100 |
| commit | 166331435f6007ea3363efeeaacec6fe5e972214 (patch) | |
| tree | dd9cd0647071b53dc4e434d85972724e459cc59f /tools | |
| parent | 51796fda08d36dfc38848c429d8cabd48e3484a9 (diff) | |
database: Make get_primary_keys() GObject-like
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/msiinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/msiinfo.c b/tools/msiinfo.c index 645c456..ea41713 100644 --- a/tools/msiinfo.c +++ b/tools/msiinfo.c @@ -621,8 +621,8 @@ static unsigned export_sql( LibmsiDatabase *db, const char *table, GError **erro } /* write out row 3, the table name + keys */ - r = libmsi_database_get_primary_keys( db, table, &keys ); - if (r) { + keys = libmsi_database_get_primary_keys(db, table, error); + if (!keys) { goto done; } |
