Skip to content

Commit 44d14af

Browse files
committed
oxcical: more detail in message strings E-2721–2725
1 parent ec8e477 commit 44d14af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mapi/oxcical.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ static const char *oxcical_import_internal(const char *str_zone, const char *met
22232223
&apr.recur_pat.modifiedinstancecount, modified_dates))
22242224
return "E-2720";
22252225
if (apr.recur_pat.modifiedinstancecount < apr.recur_pat.deletedinstancecount)
2226-
return "E-2721";
2226+
return "E-2721: ical object did not meet condition recur_pat.modifiedinstancecount < recur_pat.deletedinstancecount";
22272227
apr.exceptioncount = apr.recur_pat.modifiedinstancecount;
22282228
for (size_t i = 0; i < apr.exceptioncount; ++i) {
22292229
memset(exceptions + i, 0, sizeof(EXCEPTIONINFO));
@@ -2242,7 +2242,7 @@ static const char *oxcical_import_internal(const char *str_zone, const char *met
22422242
if (pevent_list.size() > 1) {
22432243
pattachments = attachment_list_init();
22442244
if (pattachments == nullptr)
2245-
return "E-2722";
2245+
return "E-2722: ENOMEM";
22462246
pmsg->set_attachments_internal(pattachments);
22472247
}
22482248
for (auto event : pevent_list) {
@@ -2253,11 +2253,11 @@ static const char *oxcical_import_internal(const char *str_zone, const char *met
22532253
return "E-2723: ENOMEM";
22542254
if (!pattachments->append_internal(pattachment)) {
22552255
attachment_content_free(pattachment);
2256-
return "E-2724";
2256+
return "E-2724: ENOMEM";
22572257
}
22582258
auto pembedded = message_content_init();
22592259
if (pembedded == nullptr)
2260-
return "E-2725";
2260+
return "E-2725: ENOMEM";
22612261
pattachment->set_embedded_internal(pembedded);
22622262
if (pembedded->proplist.set(PR_MESSAGE_CLASS, "IPM.OLE.CLASS.{00061055-0000-0000-C000-000000000046}") != 0)
22632263
return "E-2726";

0 commit comments

Comments
 (0)