summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-19 18:21:30 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-19 18:21:30 +0800
commit7b6b765ec2a7322e9d9bae8ecd5f7775325d5e7f (patch)
treec68fdb77f6bfb2bb8094b19b1b5741e62d821895 /main.c
parentb339eebaefeb28ec6b9e4cac612b2f7777f21eb1 (diff)
Two ways to show user properties, the other one by integer ID
The ID-based version is not implemented yet.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7ab6aff..adf3dfb 100644
--- a/main.c
+++ b/main.c
@@ -29,7 +29,7 @@ int main(void)
free(pass);
struct rtclient_user *user = NULL;
- rtclient_user_show(&user, name);
+ rtclient_user_showname(&user, name);
if (user) {
printf("id: %s\nname: %s\npassword: %s\nemailaddress: %s\nrealname: %s\nnickname: %s\norganization: %s\naddress1: %s\naddress2: %s\ncity: %s\nstate: %s\nzip: %s\ncountry: %s\nhomephone: %s\nworkphone: %s\nmobilephone: %s\npagerphone: %s\ncontactinfo: %s\ncomments: %s\nsignature: %s\ngecos: %s\nlang: %d\ntimezone: %d\nprivileged: %d\ndisabled: %d\n"