Changeset 2478


Ignore:
Timestamp:
Nov 11, 2009, 7:54:51 PM (10 years ago)
Author:
bruno
Message:
  • Fix #367 - the for loop doesn't make any test now, as it was computed before entering the loop, leading to an error, and was also made inside the loop anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2463 r2478  
    22042204                       get_last_filelist_number() + 1);
    22052205
    2206     for (; does_file_exist(curr_filelist_fname); curr_set_no++) {
     2206    for (;;) {
    22072207        /* backup this set of files */
    22082208        mr_asprintf(&curr_filelist_fname, FILELIST_FNAME_RAW_SZ, bkpinfo->tmpdir, curr_set_no);
     
    22902290        mr_free(curr_filelist_fname);
    22912291        mr_free(curr_afioball_fname);
     2292        curr_set_no++;
    22922293    }
    22932294    close_progress_form();
Note: See TracChangeset for help on using the changeset viewer.