diff --git a/src/api/ssh_keys_get.c b/src/api/ssh_keys_get.c index 6c32b168a77c6b29edaafc745249ccbc1eb6c5a1..255442174be3a3f72fa99ed6eb59b766a4865c42 100644 --- a/src/api/ssh_keys_get.c +++ b/src/api/ssh_keys_get.c @@ -3,7 +3,7 @@ * array. * @return json array of authorized_keys */ -json_t * readAuthorizedKeysJSON() +json_t * readAuthorizedKeysToJson() { json_t * keys = json_object(); @@ -62,7 +62,7 @@ int callback_ssh_keys_get(const struct _u_request * request, struct _u_response * response, void * user_data) { // Read lines of authorized_keys file into json array. - json_t * keys = readAuthorizedKeysJSON(); + json_t * keys = readAuthorizedKeysToJson(); if (keys == NULL) { printf("Could not open authorized_keys file\n");