]> code.citadel.org Git - citadel.git/blobdiff - citadel/utils/ctdldump.c
When opening a cursor, always read through to the end.
[citadel.git] / citadel / utils / ctdldump.c
index 0997189de6bd7fc8121741ef8b5d7f2c1ccc6868..cf7257813c5d232a4de3ffc19f6b33002b5d88c4 100644 (file)
@@ -343,7 +343,7 @@ void export_table(int which_cdb) {
        int num_bad_rows = 0;
 
        cdb_rewind(which_cdb);
-       while (ckv = cdb_next_item(which_cdb), ckv.val.ptr!=NULL) {
+       while (ckv = cdb_next_item(which_cdb), ckv.val.ptr!=NULL) {             // always read through to the end
                // Call the export function registered to this table
                export_functions[which_cdb](which_cdb, ckv);
        }