/[mailutils]/mailutils/mh/refile.c
ViewVC logotype

Diff of /mailutils/mh/refile.c

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

revision 1.19 by gray, Thu Feb 20 13:58:24 2003 UTC revision 1.20 by gray, Sat Feb 22 22:27:21 2003 UTC
# Line 155  opt_handler (int key, char *arg, void *u Line 155  opt_handler (int key, char *arg, void *u
155        break;        break;
156    
157      case ARG_DRAFT:      case ARG_DRAFT:
158        source_file = mh_expand_name (NULL, "draft", 0);        source_file = "draft";
159        break;        break;
160    
161      case ARG_LINK:      case ARG_LINK:
# Line 251  main (int argc, char **argv) Line 251  main (int argc, char **argv)
251            mh_error (_("both message set and source file given"));            mh_error (_("both message set and source file given"));
252            exit (1);            exit (1);
253          }          }
254        msg = mh_file_to_message (NULL, source_file);        msg = mh_file_to_message (mu_path_folder_dir, source_file);
255        refile (msg);        refile (msg);
256        if (!link_flag)        if (!link_flag)
257          unlink (source_file);          unlink (source_file);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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