Mercurial > libpst
comparison src/readpst.c @ 390:5c0ce43c7532
Fix a number of spelling mistakes
Changes-by: codespell -w
Suggested-by: codespell, spellintian, lintian
I: libpst4: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libpst.so.4.1.14 occured occurred
I: libpst-dev: spelling-error-in-manpage usr/share/man/man5/outlook.pst.5.gz Attachement Attachment
author | Paul Wise <pabs3@bonedaddy.net> |
---|---|
date | Sat, 21 Dec 2019 21:25:45 +0800 |
parents | 1e1970f93f94 |
children | c1b1bbd42696 |
comparison
equal
deleted
inserted
replaced
389:3f83feface7a | 390:5c0ce43c7532 |
---|---|
1080 } | 1080 } |
1081 } | 1081 } |
1082 | 1082 |
1083 check_filename(f_name); | 1083 check_filename(f_name); |
1084 if (!attach_filename) { | 1084 if (!attach_filename) { |
1085 // generate our own (dummy) filename for the attachement | 1085 // generate our own (dummy) filename for the attachment |
1086 temp = pst_malloc(strlen(f_name)+15); | 1086 temp = pst_malloc(strlen(f_name)+15); |
1087 sprintf(temp, "%s-attach%i", f_name, attach_num); | 1087 sprintf(temp, "%s-attach%i", f_name, attach_num); |
1088 } else { | 1088 } else { |
1089 // have an attachment name, make sure it's unique | 1089 // have an attachment name, make sure it's unique |
1090 temp = pst_malloc(strlen(f_name)+strlen(attach_filename)+15); | 1090 temp = pst_malloc(strlen(f_name)+strlen(attach_filename)+15); |