diff options
Diffstat (limited to 'src/rest/gnunet-rest-server.c')
-rw-r--r-- | src/rest/gnunet-rest-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c index 9984478ce..0aba52a11 100644 --- a/src/rest/gnunet-rest-server.c +++ b/src/rest/gnunet-rest-server.c | |||
@@ -1201,7 +1201,7 @@ run (void *cls, | |||
1201 | memset (basic_auth_secret_tmp, 0, 16); | 1201 | memset (basic_auth_secret_tmp, 0, 16); |
1202 | if (GNUNET_SYSERR == GNUNET_DISK_fn_read (basic_auth_file, | 1202 | if (GNUNET_SYSERR == GNUNET_DISK_fn_read (basic_auth_file, |
1203 | basic_auth_secret_tmp, | 1203 | basic_auth_secret_tmp, |
1204 | sizeof (basic_auth_secret_tmp))) | 1204 | sizeof (basic_auth_secret_tmp) - 1)) |
1205 | { | 1205 | { |
1206 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1206 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
1207 | "Unable to read basic auth secret file.\n"); | 1207 | "Unable to read basic auth secret file.\n"); |