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

Diff of /mailutils/mh/send.c

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

revision 1.7 by gray, Sun Feb 16 11:26:12 2003 UTC revision 1.8 by gray, Sat Feb 22 22:27:48 2003 UTC
# Line 423  static int Line 423  static int
423  send (int argc, char **argv)  send (int argc, char **argv)
424  {  {
425    int i, rc;    int i, rc;
426      
427      /* Verify all arguments */
428    for (i = 0; i < argc; i++)    for (i = 0; i < argc; i++)
429      if (check_file (argv[i]))      if (check_file (argv[i]))
430        return 1;        return 1;
431    
432      /* Process the mtstailor file and detach from the console if
433         required */
434    read_mts_profile ();    read_mts_profile ();
435        
436    if (background && daemon (0, 0) < 0)    if (background && daemon (0, 0) < 0)
# Line 436  send (int argc, char **argv) Line 439  send (int argc, char **argv)
439        return 1;        return 1;
440      }      }
441    
442      /* Prepend url specifier to the folder dir. We won't need this
443         when the default format becomes configurable */
444      asprintf (&mu_path_folder_dir, "mh:%s", mu_path_folder_dir);
445    
446      /* Finally, do the work */
447    rc = list_do (mesg_list, _action_send, NULL);    rc = list_do (mesg_list, _action_send, NULL);
448    return rc;    return rc;
449  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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