summaryrefslogtreecommitdiffstats
path: root/src/registry/registry_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/registry/registry_internals.h')
-rw-r--r--src/registry/registry_internals.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/registry/registry_internals.h b/src/registry/registry_internals.h
index c7f8f43dd..39d37e4f0 100644
--- a/src/registry/registry_internals.h
+++ b/src/registry/registry_internals.h
@@ -30,10 +30,10 @@ struct registry {
// configuration
unsigned long long save_registry_every_entries;
- char *registry_domain;
- char *hostname;
- char *registry_to_announce;
- char *cloud_base_url;
+ const char *registry_domain;
+ const char *hostname;
+ const char *registry_to_announce;
+ const char *cloud_base_url;
time_t persons_expiration; // seconds to expire idle persons
int verify_cookies_redirects;
int enable_cookies_samesite_secure;
@@ -42,10 +42,10 @@ struct registry {
size_t max_name_length;
// file/path names
- char *pathname;
- char *db_filename;
- char *log_filename;
- char *machine_guid_filename;
+ const char *pathname;
+ const char *db_filename;
+ const char *log_filename;
+ const char *machine_guid_filename;
// open files
FILE *log_fp;