aboutsummaryrefslogtreecommitdiff
path: root/restapi
diff options
context:
space:
mode:
Diffstat (limited to 'restapi')
-rw-r--r--restapi/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/restapi/auth.c b/restapi/auth.c
index eda92a9..e32a194 100644
--- a/restapi/auth.c
+++ b/restapi/auth.c
@@ -10,7 +10,7 @@
#define USER_STR "user="
#define PASS_STR "&password="
-char * authToken = NULL;
+static char * authToken = NULL;
const char * // returns authToken if ok, NULL otherwise
restapi_login(const char* username, const char* password)