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

Diff of /mailutils/mail/pipe.c

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

revision 1.14 by polak, Mon Dec 23 22:01:34 2002 UTC revision 1.15 by gray, Tue Jan 14 14:48:59 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 Free Software Foundation, Inc.     Copyright (C) 1999, 2001, 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 39  mail_pipe (int argc, char **argv) Line 39  mail_pipe (int argc, char **argv)
39    else if (util_getenv (&cmd, "cmd", Mail_env_boolean, 1))    else if (util_getenv (&cmd, "cmd", Mail_env_boolean, 1))
40      return 1;      return 1;
41    
42    if (msgset_parse (argc, argv, &list))    if (msgset_parse (argc, argv, MSG_NODELETED|MSG_SILENT, &list))
43        return 1;        return 1;
44    
45    tube = popen (cmd, "w");    tube = popen (cmd, "w");
46    
47    for (mp = list; mp; mp = mp->next)    for (mp = list; mp; mp = mp->next)
48      {      {
49        if (util_get_message (mbox, mp->msg_part[0], &msg, MSG_NODELETED) == 0)        if (util_get_message (mbox, mp->msg_part[0], &msg) == 0)
50          {          {
51            message_get_stream (msg, &stream);            message_get_stream (msg, &stream);
52            off = 0;            off = 0;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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