summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ticket.c')
-rw-r--r--ticket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ticket.c b/ticket.c
index baf3fc2..c40fe7f 100644
--- a/ticket.c
+++ b/ticket.c
@@ -262,7 +262,7 @@ static size_t history_l_handler(void *contents, size_t size, size_t nmemb
= realloc(ticket_history->attachments
, sizeof
(attachment_list)
- + i + 1
+ + (i + 1)
* sizeof
(history_attachment));
attachment_list *list = ticket_history->attachments;