summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index ab83086..b81f13c 100644
--- a/main.c
+++ b/main.c
@@ -13,11 +13,8 @@ int main(int argc, char *argv[])
srv_open("/home/angel/lib/snac/comam.es");
- snac_open(&snac, "mike");
+ user_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;
}