TRYCATCH(mismatch_error,gras_dict_retrieve((gras_dict_t*)cfg,name,(void**)&res));
if (errcode != mismatch_error) {
- WARNING1("Config elem %s registered twice.",name);
+ WARN1("Config elem %s registered twice.",name);
/* Will be removed by the insertion of the new one */
}
TRY (gras_cfgelm_get(cfg,name,gras_cfgelm_int,&cell));
if (gras_dynar_length(cell->content) > 1) {
- WARNING2("You asked for the first value of the config element '%s', but there is %d values\n",
+ WARN2("You asked for the first value of the config element '%s', but there is %d values\n",
name, gras_dynar_length(cell->content));
}
TRY (gras_cfgelm_get(cfg,name,gras_cfgelm_double,&cell));
if (gras_dynar_length(cell->content) > 1) {
- WARNING2("You asked for the first value of the config element '%s', but there is %d values\n",
+ WARN2("You asked for the first value of the config element '%s', but there is %d values\n",
name, gras_dynar_length(cell->content));
}
TRY (gras_cfgelm_get(cfg,name,gras_cfgelm_string,&cell));
if (gras_dynar_length(cell->content) > 1) {
- WARNING2("You asked for the first value of the config element '%s', but there is %d values\n",
+ WARN2("You asked for the first value of the config element '%s', but there is %d values\n",
name, gras_dynar_length(cell->content));
}
TRY (gras_cfgelm_get(cfg,name,gras_cfgelm_host,&cell));
if (gras_dynar_length(cell->content) > 1) {
- WARNING2("You asked for the first value of the config element '%s', but there is %d values\n",
+ WARN2("You asked for the first value of the config element '%s', but there is %d values\n",
name, gras_dynar_length(cell->content));
}