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

Diff of /mailutils/mail/write.c

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

revision 1.16 by polak, Mon Dec 23 22:01:34 2002 UTC revision 1.17 by gray, Tue Jan 14 14:49:00 2003 UTC
# Line 1  Line 1 
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
# Line 47  mail_write (int argc, char **argv) Line 47  mail_write (int argc, char **argv)
47        free (p);        free (p);
48      }      }
49                                    
50    if (msgset_parse (argc, argv, &msglist))    if (msgset_parse (argc, argv, MSG_NODELETED|MSG_SILENT, &msglist))
51      {      {
52        if (filename)        if (filename)
53            free (filename);            free (filename);
# Line 81  mail_write (int argc, char **argv) Line 81  mail_write (int argc, char **argv)
81        off_t off = 0;        off_t off = 0;
82        size_t n = 0;        size_t n = 0;
83    
84        if (util_get_message (mbox, mp->msg_part[0], &msg, MSG_NODELETED))        if (util_get_message (mbox, mp->msg_part[0], &msg))
85          continue;          continue;
86    
87        message_get_body (msg, &bod);        message_get_body (msg, &bod);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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