mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed wrong number of attachments display
This commit is contained in:
parent
0b38d54d74
commit
fe60aaf0c4
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user