From a291afe345297bcb4a9c31cfbea356d100230689 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Thu, 29 Jun 2017 13:41:45 +0200
Subject: [PATCH] Rename function for reading authorized_keys file

---
 src/api/ssh_keys_get.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/ssh_keys_get.c b/src/api/ssh_keys_get.c
index 6c32b16..2554421 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");
-- 
GitLab