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 2e26b81..9ec8bc7 100644
--- a/ticket.c
+++ b/ticket.c
@@ -107,7 +107,7 @@ void rtclient_ticket_search(rtclient_ticketlist **listptr, const char *query)
void rtclient_ticket_history(unsigned int id)
{
- request(NULL, NULL, NULL, "%s%d%s", "REST/1.0/ticket/", id
+ request(NULL, NULL, NULL, "%s%u%s", "REST/1.0/ticket/", id
, "/history?format=l");
}