summaryrefslogtreecommitdiff
path: root/mail/delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/delete.c')
-rw-r--r--mail/delete.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/delete.c b/mail/delete.c
index d7a84de35..d57bb5c72 100644
--- a/mail/delete.c
+++ b/mail/delete.c
@@ -1,18 +1,18 @@
-/* GNU mailutils - a suite of utilities for electronic mail
- Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+/* GNU Mailutils -- a suite of utilities for electronic mail
+ Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify
+ GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
- This program is distributed in the hope that it will be useful,
+ GNU Mailutils is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
+ along with GNU Mailutils; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "mail.h"
@@ -27,7 +27,7 @@ mail_delete0 (void)
message_t msg;
attribute_t attr;
- if (util_get_message (mbox, cursor, &msg, MSG_ALL))
+ if (util_get_message (mbox, cursor, &msg, MSG_NODELETED))
return 1;
message_get_attribute (msg, &attr);
attribute_set_deleted (attr);

Return to:

Send suggestions and report system problems to the System administrator.