- if( snprintf(header, EDITW_COLS, "%s <%s>", database[item][NAME],
- email ) == -1 || !*database[item][EMAIL] )
- if( snprintf(header, EDITW_COLS, "%s", database[item][NAME]) == -1) {
- free(header);
- return;
- }
+ if( *database[item][EMAIL] )
+ snprintf(header, EDITW_COLS, "%s <%s>",
+ database[item][NAME],
+ email);
+ else
+ snprintf(header, EDITW_COLS, "%s", database[item][NAME]);