diff --git a/src/util/mdb-export.c b/src/util/mdb-export.c index 3b33ed1..8070932 100644 --- a/src/util/mdb-export.c +++ b/src/util/mdb-export.c @@ -59,7 +59,7 @@ char quote_text = 1; if (header_row) { col=g_ptr_array_index(table->columns,0); fprintf(stdout,"%s",col->name); - for (j=0;jnum_cols;j++) { + for (j=1;jnum_cols;j++) { col=g_ptr_array_index(table->columns,j); fprintf(stdout,"%s%s",delimiter,col->name); }