/[mailutils]/mailutils/mail.local/script.c
ViewVC logotype

Diff of /mailutils/mail.local/script.c

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

revision 1.4 by gray, Thu May 16 11:20:46 2002 UTC revision 1.5 by gray, Thu Jun 27 09:17:31 2002 UTC
# Line 66  int Line 66  int
66  mda_init (void *data)  mda_init (void *data)
67  {  {
68    struct mda_data *md = data;    struct mda_data *md = data;
69    md->progfile = make_progfile_name (md->progfile_pattern, md->argv[0]);    md->progfile = mu_expand_path_pattern (md->progfile_pattern, md->argv[0]);
70    return 0;    return 0;
71  }  }
72    
# Line 159  mda_next (void *data, mailbox_t mbox) Line 159  mda_next (void *data, mailbox_t mbox)
159      return 0;      return 0;
160    if (md->progfile)    if (md->progfile)
161      free (md->progfile);      free (md->progfile);
162    md->progfile = make_progfile_name (md->progfile_pattern, *md->argv);    md->progfile = mu_expand_path_pattern (md->progfile_pattern, *md->argv);
163    
164    mailbox_get_message (mbox, 1, &mesg);    mailbox_get_message (mbox, 1, &mesg);
165    message_get_attribute (mesg, &attr);    message_get_attribute (mesg, &attr);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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