Ignore:
Timestamp:
Sep 24, 2007, 1:07:01 PM (12 years ago)
Author:
bruno
Message:

Always wrokign on fixing tmpdir problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/mondoarchive/main.c

    r1645 r1652  
    284284/* Initialize variables */
    285285
    286     malloc_libmondo_global_strings();
    287     malloc_string(tmp);
    288     malloc_string(say_at_end);
     286    printf("Initializing...\n");
     287    if (!(bkpinfo = malloc(sizeof(struct s_bkpinfo)))) {
     288        fatal_error("Cannot malloc bkpinfo");
     289    }
     290    reset_bkpinfo();
    289291
    290292    res = 0;
    291293    retval = 0;
    292294    diffs = 0;
     295    malloc_string(tmp);
     296    malloc_string(say_at_end);
    293297    say_at_end[0] = '\0';
    294     printf("Initializing...\n");
    295     if (!(bkpinfo = malloc(sizeof(struct s_bkpinfo)))) {
    296         fatal_error("Cannot malloc bkpinfo");
    297     }
     298    malloc_libmondo_global_strings();
    298299
    299300    /* initialize log file with time stamp */
Note: See TracChangeset for help on using the changeset viewer.