mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Send error message to stderr
This commit is contained in:
@@ -495,7 +495,7 @@ void mdb_data_dump(MdbTableDef *table)
|
|||||||
bound_values[i] = (char *) g_malloc(256);
|
bound_values[i] = (char *) g_malloc(256);
|
||||||
ret = mdb_bind_column(table, i+1, bound_values[i], NULL);
|
ret = mdb_bind_column(table, i+1, bound_values[i], NULL);
|
||||||
if (ret == -1) {
|
if (ret == -1) {
|
||||||
fprintf(stdout, "error binding column %d\n", i+1);
|
fprintf(stderr, "error binding column %d\n", i+1);
|
||||||
g_free(bound_values[i]);
|
g_free(bound_values[i]);
|
||||||
bound_values[i] = NULL;
|
bound_values[i] = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user