/[mailutils]/mailutils/mail/util.c
ViewVC logotype

Diff of /mailutils/mail/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by gray, Sun Oct 13 20:35:46 2002 UTC revision 1.48 by gray, Tue Nov 5 13:45:42 2002 UTC
# Line 1225  util_header_expand (header_t *phdr) Line 1225  util_header_expand (header_t *phdr)
1225  }  }
1226    
1227  int  int
1228  util_get_message (mailbox_t mbox, size_t msgno, message_t *msg, int delflag)  util_get_message (mailbox_t mbox, size_t msgno, message_t *msg, int flag)
1229  {  {
1230    int status;    int status;
1231    
# Line 1243  util_get_message (mailbox_t mbox, size_t Line 1243  util_get_message (mailbox_t mbox, size_t
1243        return status;        return status;
1244      }      }
1245    
1246    if (delflag && util_isdeleted (*msg))    if ((flag & MSG_NODELETED) && util_isdeleted (*msg))
1247      {      {
1248        util_error ("%d: Inappropriate message (has been deleted)");        if (!(flag & MSG_SILENT))
1249            util_error ("%lu: Inappropriate message (has been deleted)",
1250                        (unsigned long) msgno);
1251        return ENOENT;        return ENOENT;
1252      }      }
1253    return 0;    return 0;

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26