aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-02-28 07:11:53 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-02-28 07:11:53 +0200
commit7e8ff0ed908913de7467daa28feb25164abc7ad9 (patch)
treeeae9ec181417836ee8b5d07d43b22f406c6b3349 /src
parent08c3146cb395a990c2b54e10e1a3c13916110431 (diff)
downloadping903-7e8ff0ed908913de7467daa28feb25164abc7ad9.tar.gz
ping903-7e8ff0ed908913de7467daa28feb25164abc7ad9.tar.bz2
Minor fix
Diffstat (limited to 'src')
-rw-r--r--src/ping903q.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ping903q.c b/src/ping903q.c
index 6f84250..e9070ab 100644
--- a/src/ping903q.c
+++ b/src/ping903q.c
@@ -29,6 +29,7 @@
#include <unistd.h>
#include "json.h"
#include "defs.h"
+#include "basicauth.h"
static char *config_file = DEFAULT_CONFIG_FILE;
FILE *http;
@@ -580,7 +581,7 @@ get_realm_creds(char const *realm, char **retval)
|| strcmp(av[1], realm) == 0)) {
len = strlen(av[2]) + strlen(av[3]) + 2;
char *plaintext;
- char *b64;
+ unsigned char *b64;
size_t b64_len;
char *hdr;

Return to:

Send suggestions and report system problems to the System administrator.