Fixed wrong number of attachments display
This commit is contained in:
1 parent
0b38d54d74
commit
fe60aaf0c4
1 file changed
+4
@@ -4447,6 +4447,10 @@ int el_retrieve(LOGBOOK *lbs, int message_id, char *date, char attr_list[MAX_N_A
|
||||
|
||||
if (attachment) {
|
||||
/* break apart attachments */
|
||||
for (i = 0; i < MAX_ATTACHMENTS; i++)
|
||||
if (attachment[i] != NULL)
|
||||
attachment[i][0] = 0;
|
||||
|
||||
for (i = 0; i < MAX_ATTACHMENTS; i++) {
|
||||
attachment[i][0] = 0;
|
||||
if (i == 0)
|
||||
|
||||
Reference in new issue
Block a user