X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=user_list.c;h=46770edf701e983d424e8869e7c9ccd4730c3cf9;hb=refs%2Fheads%2Fpu;hp=32a4309d4360fa73a8e7d0bbef622a7928001bb0;hpb=53af5c6efb309565990203fd8504a812ec9166c9;p=paraslash.git diff --git a/user_list.c b/user_list.c index 32a4309d..46770edf 100644 --- a/user_list.c +++ b/user_list.c @@ -91,7 +91,7 @@ void user_list_init(const char *user_list_file) continue; if (strcmp(w, "user")) continue; - PARA_DEBUG_LOG("found entry for user %s\n", n); + PARA_INFO_LOG("loading pubkey %s for user %s\n", k, n); ret = apc_get_pubkey(k, &pubkey); if (ret < 0) { PARA_NOTICE_LOG("skipping entry for user %s: %s\n", n, @@ -110,7 +110,7 @@ void user_list_init(const char *user_list_file) apc_free_pubkey(pubkey); continue; } - u = para_malloc(sizeof(*u)); + u = alloc(sizeof(*u)); u->name = para_strdup(n); u->pubkey = pubkey; u->perms = 0;