summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'user.c')
-rw-r--r--user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/user.c b/user.c
index 7cad6ee..4614f6a 100644
--- a/user.c
+++ b/user.c
@@ -207,7 +207,8 @@ void rtclient_user_showname(rtclient_user **userptr, const char *name)
user->timezone = RTCLIENT_TIMEZONE_NONE;
user->privileged = false;
user->disabled = true;
- request("/REST/1.0/user/", name, show_callback, (void *)userptr, NULL);
+ request(show_callback, (void *)userptr, NULL, "%s%s", "/REST/1.0/user/"
+ , name);
}
void rtclient_user_free(rtclient_user *user)