summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index ab4093b..ab83086 100644
--- a/main.c
+++ b/main.c
@@ -16,5 +16,8 @@ int main(int argc, char *argv[])
snac_open(&snac, "mike");
snac_log(&snac, xs_str_new("ok"));
+ char *passwd = xs_dict_get(snac.config, "passwd");
+ printf("%d\n", check_password("mike", "1234", passwd));
+
return 0;
}