/* allocate the content structure */
if (!(ct = (CT) calloc(1, sizeof(*ct))))
/* allocate the content structure */
if (!(ct = (CT) calloc(1, sizeof(*ct))))
- adios(NULL, "message format error in component #%d",
+ adios(EX_DATAERR, NULL, "message format error in component #%d",
- adios(NULL, "getfld() returned %d", state);
+ adios(EX_SOFTWARE, NULL, "getfld() returned %d", state);
/* allocate text character set structure */
if ((t = (struct text *) calloc(1, sizeof(*t))) == NULL)
/* allocate text character set structure */
if ((t = (struct text *) calloc(1, sizeof(*t))) == NULL)
/* allocate primary structure for multipart info */
if ((m = (struct multipart *) calloc(1, sizeof(*m))) == NULL)
/* allocate primary structure for multipart info */
if ((m = (struct multipart *) calloc(1, sizeof(*m))) == NULL)
/* allocate array of pointers to the parts */
if (!(base = (struct part **) calloc((size_t) (i + 1), sizeof(*base))))
/* allocate array of pointers to the parts */
if (!(base = (struct part **) calloc((size_t) (i + 1), sizeof(*base))))
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
- adios(ce->ce_file, "unable to rename %s to ",
+ adios(EX_IOERR, ce->ce_file, "unable to rename %s to ",
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
- adios(ce->ce_file, "unable to rename %s to ",
+ adios(EX_IOERR, ce->ce_file, "unable to rename %s to ",
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
- adios(ce->ce_file, "unable to rename %s to ",
+ adios(EX_IOERR, ce->ce_file, "unable to rename %s to ",