summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index b2545b6..7ab6aff 100644
--- a/main.c
+++ b/main.c
@@ -28,7 +28,7 @@ int main(void)
rtclient_login(name, pass);
free(pass);
- struct rt_user *user = NULL;
+ struct rtclient_user *user = NULL;
rtclient_user_show(&user, name);
if (user) {
@@ -60,7 +60,7 @@ int main(void)
, user->disabled);
rtclient_user_free(user);
- struct rt_ticketlist *list = NULL;
+ struct rtclient_ticketlist *list = NULL;
static const char *prefix = "Owner='";
char query[strlen(prefix) + strlen(name) + 2];
sprintf(query, "%s%s'", prefix, name);