mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Fixed mdb-prop when there is no properties at all
This was printing "Unknown format"
This commit is contained in:
parent
b0fb6a4167
commit
a5573ab6d1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user