Changeset 823:f879251284eb for attach.c
- Timestamp:
- 1999-02-28 00:29:17 (10 years ago)
- Branch:
- mutt-1-0-stable
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
attach.c
r788 r823 708 708 memset (&s, 0, sizeof (s)); 709 709 if (flags == M_SAVE_APPEND) 710 s.fpout = safe_fopen (path, "a"); 710 s.fpout = fopen (path, "a"); 711 else if (flags == M_SAVE_OVERWRITE) 712 s.fpout = fopen (path, "w"); 711 713 else 712 s.fpout = fopen (path, "w");714 s.fpout = safe_fopen (path, "w"); 713 715 if (s.fpout == NULL) 714 716 { … … 772 774 773 775 if (flags == M_SAVE_APPEND) 774 s.fpout = safe_fopen (path, "a"); 776 s.fpout = fopen (path, "a"); 777 else if (flags == M_SAVE_OVERWRITE) 778 s.fpout = fopen (path, "w"); 775 779 else 776 s.fpout = fopen (path, "w"); 780 s.fpout = safe_fopen (path, "w"); 781 777 782 if (s.fpout == NULL) 778 783 {
