diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-16 17:40:14 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-16 17:40:37 +0200 |
commit | ee1fbffa1c42f7ac3fc897e73e90c525037dd915 (patch) | |
tree | b8b5f553413fb99a92a59786862ba25049f62725 /src/gnsrecord | |
parent | 23820348b1221c78dc2d4eca9a234c375bbc68cb (diff) | |
download | gnunet-ee1fbffa1c42f7ac3fc897e73e90c525037dd915.tar.gz gnunet-ee1fbffa1c42f7ac3fc897e73e90c525037dd915.zip |
support context-wide client authentication
Diffstat (limited to 'src/gnsrecord')
-rw-r--r-- | src/gnsrecord/gnsrecord.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnsrecord/gnsrecord.c b/src/gnsrecord/gnsrecord.c index a59997934..3cbf5fc8d 100644 --- a/src/gnsrecord/gnsrecord.c +++ b/src/gnsrecord/gnsrecord.c | |||
@@ -102,8 +102,8 @@ init () | |||
102 | if (1 == once) | 102 | if (1 == once) |
103 | return; | 103 | return; |
104 | once = 1; | 104 | once = 1; |
105 | struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get (); | 105 | const struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get (); |
106 | struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); | 106 | const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); |
107 | 107 | ||
108 | if (pd != dpd) | 108 | if (pd != dpd) |
109 | GNUNET_OS_init(dpd); | 109 | GNUNET_OS_init(dpd); |
@@ -121,8 +121,8 @@ void __attribute__ ((destructor)) | |||
121 | GNSRECORD_fini () | 121 | GNSRECORD_fini () |
122 | { | 122 | { |
123 | struct Plugin *plugin; | 123 | struct Plugin *plugin; |
124 | struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get (); | 124 | const struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get (); |
125 | struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); | 125 | const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); |
126 | 126 | ||
127 | if (pd != dpd) | 127 | if (pd != dpd) |
128 | GNUNET_OS_init(dpd); | 128 | GNUNET_OS_init(dpd); |