1 |
/* GNU Mailutils -- a suite of utilities for electronic mail |
/* GNU Mailutils -- a suite of utilities for electronic mail |
2 |
Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. |
Copyright (C) 1999, 2001, 2002, 2003 Free Software Foundation, Inc. |
3 |
|
|
4 |
GNU Mailutils is free software; you can redistribute it and/or modify |
GNU Mailutils is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
41 |
mail_delete (int argc, char **argv) |
mail_delete (int argc, char **argv) |
42 |
{ |
{ |
43 |
int reset_cursor = 0; |
int reset_cursor = 0; |
44 |
int rc = util_foreach_msg (argc, argv, MSG_NODELETED, |
int rc = util_foreach_msg (argc, argv, MSG_NODELETED|MSG_SILENT, |
45 |
mail_delete_msg, &reset_cursor); |
mail_delete_msg, &reset_cursor); |
46 |
|
|
47 |
/* Readjust the cursor not to point to the deleted messages. */ |
/* Readjust the cursor not to point to the deleted messages. */ |