Ignore:
Timestamp:
Sep 12, 2009, 2:53:02 AM (15 years ago)
Author:
Bruno Cornec
Message:

Fix interface of evaluate_mountlist (remove 2nd param useless) and fix nuke mode which wasn't working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c

    r2380 r2394  
    19331933    /** int **************************************************************/
    19341934    int i = 0;
    1935     int res = 0;
    19361935    int currline = 0;
    19371936    int finished = FALSE;
     
    19751974                          bEdit, bDelete, bReload, bCancel, bOK, NULL);
    19761975    while (!finished) {
    1977         flaws_str = evaluate_mountlist(mountlist, &res);
     1976        flaws_str = evaluate_mountlist(mountlist);
    19781977        if (strlen(flaws_str) > 0) {
    19791978            mr_asprintf(&flaws_str_A, "%s", flaws_str + 1);
     
    20062005
    20072006        if (b_res == bOK) {
    2008             flaws_str = evaluate_mountlist(mountlist, &res);
    2009             mr_free(flaws_str);
    2010             if (!res) {
     2007            flaws_str = evaluate_mountlist(mountlist);
     2008            if (flaws_str != NULL) {
     2009                mr_free(flaws_str);
    20112010                finished =
    20122011                    ask_me_yes_or_no
Note: See TracChangeset for help on using the changeset viewer.