Changeset 1584 for branches/stable


Ignore:
Timestamp:
Jul 28, 2007, 12:15:50 PM (12 years ago)
Author:
bruno
Message:

Still better on mr_conf lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/lib/mr_conf.c

    r1583 r1584  
    5454
    5555/*warnings*/
    56 #define MRCONF_STR_SET_TO_ZERO    _("variable will be set to 0:")
    5756#define MRCONF_STR_IGNORE    _("has no value, ignoring it")
    5857#define MRCONF_STR_CLOSE_BUT_NOT_OPEN _("attempt to close mr_conf but it has not been opened yet")
     
    403402
    404403        case MRCONF_FIELD_NOT_FOUND:
    405             mr_msg_int(1,line,file,"%s: %s (%s) %s \"%s\"", add_line, MRCONF_STR_ERROR, mr_conf_filename, MRCONF_STR_FIELD_NOT_FOUND, add_line);
    406             mr_msg_int(1,line,file,"%s (%s) %s", MRCONF_STR_WARNING, mr_conf_filename, MRCONF_STR_SET_TO_ZERO);
     404            mr_msg_int(1,line,file,"%s (%s) %s \"%s\"", MRCONF_STR_WARNING, mr_conf_filename, MRCONF_STR_FIELD_NOT_FOUND, add_line);
    407405            break;
    408406
    409407        case MRCONF_FIELD_NO_VALUE:
    410             mr_msg_int(1,line,file,"%s: %s (%s) %s \"%s\"", add_line, MRCONF_STR_ERROR, mr_conf_filename, MRCONF_STR_FIELD_NO_VALUE, add_line);
     408            mr_msg_int(1,line,file,"%s (%s) %s \"%s\"", MRCONF_STR_ERROR, mr_conf_filename, MRCONF_STR_FIELD_NO_VALUE, add_line);
    411409            mr_msg_int(1,line,file,"%s (%s) %s", MRCONF_STR_WARNING, mr_conf_filename, MRCONF_STR_IGNORE);
    412410            break;
Note: See TracChangeset for help on using the changeset viewer.