mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Fixed mdb-prop when there is no properties at all
This was printing "Unknown format"
This commit is contained in:
@@ -81,7 +81,10 @@ main(int argc, char **argv)
|
||||
MdbColumn *col = g_ptr_array_index(table->columns, col_num-1);
|
||||
size_t size;
|
||||
void *kkd = mdb_ole_read_full(mdb, col, &size);
|
||||
dump_kkd(mdb, kkd, size);
|
||||
if (size)
|
||||
dump_kkd(mdb, kkd, size);
|
||||
else
|
||||
printf("No properties.\n");
|
||||
free(kkd);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user