Fix listing bug in Donar Client

This commit is contained in:
Quentin 2019-02-12 20:36:21 +01:00
parent d1bfdf520f
commit 47f6a12d41

View file

@ -22,7 +22,7 @@ void donar_client(struct donar_client_ctx* ctx, struct algo_skel* algo, char* on
printf("--- Onion services loaded\n");
for (int i = 0; i < ctx->tos.filled; i++) {
printf("onion service: %s\n",ctx->tos.keys->pub);
printf("onion service: %s\n",ctx->tos.keys[i].pub);
}
for (uint16_t i = 0; i < CLIENT_PORT_SIZE ; i++) {