summaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/ogAdmServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp
index 9e506b2..6e074f8 100644
--- a/sources/ogAdmServer.cpp
+++ b/sources/ogAdmServer.cpp
@@ -4172,7 +4172,7 @@ static int og_client_state_recv_hdr_rest(struct og_client *cli)
ptr = strstr(cli->buf, "Authorization: ");
if (ptr)
- sscanf(ptr, "Authorization: %64[^\r\n]", cli->auth_token);
+ sscanf(ptr, "Authorization: %63[^\r\n]", cli->auth_token);
return 1;
}