From cb249baa8d8dcc54dd575f82d5cb3134957c71b5 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Mon, 30 Sep 2019 17:20:39 +0800 Subject: Pass the history list struct --- client.cxx | 3 ++- librtclient | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client.cxx b/client.cxx index e972126..15d573f 100644 --- a/client.cxx +++ b/client.cxx @@ -123,7 +123,8 @@ namespace RTClient { void Client::ticketHistory(int id) { - rtclient_ticket_history(id); + rtclient_ticket_history_list* historyList = nullptr; + rtclient_ticket_history(&historyList, id); } Client::~Client() diff --git a/librtclient b/librtclient index 0588263..ad1be67 160000 --- a/librtclient +++ b/librtclient @@ -1 +1 @@ -Subproject commit 0588263c5283c85cd4751c2251f3eb7881d7f87f +Subproject commit ad1be67d05d65664c22099ada17351a78e1fd27b -- cgit v1.3