aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-15 08:47:45 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-15 12:11:21 +0200
commit7b992510c25c0081c59c4b1f61fe42ff5dc7680d (patch)
tree100612d1c61a478a318db83cbfec94fcb2cf90a0 /src/gnsrecord
parentdba32dc385bf922c7cd91eecc209e1a37b96c137 (diff)
downloadgnunet-7b992510c25c0081c59c4b1f61fe42ff5dc7680d.tar.gz
gnunet-7b992510c25c0081c59c4b1f61fe42ff5dc7680d.zip
- fix gns
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/gnsrecord_misc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gnsrecord/gnsrecord_misc.c b/src/gnsrecord/gnsrecord_misc.c
index cfe310422..4b1695d69 100644
--- a/src/gnsrecord/gnsrecord_misc.c
+++ b/src/gnsrecord/gnsrecord_misc.c
@@ -329,7 +329,10 @@ enum GNUNET_GenericReturnValue
329GNUNET_GNSRECORD_record_to_identity_key (const struct GNUNET_GNSRECORD_Data *rd, 329GNUNET_GNSRECORD_record_to_identity_key (const struct GNUNET_GNSRECORD_Data *rd,
330 struct GNUNET_IDENTITY_PublicKey *key) 330 struct GNUNET_IDENTITY_PublicKey *key)
331{ 331{
332 switch (ntohl (rd->record_type)) 332 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
333 "Got record of type %u\n",
334 rd->record_type);
335 switch (rd->record_type)
333 { 336 {
334 case GNUNET_GNSRECORD_TYPE_PKEY: 337 case GNUNET_GNSRECORD_TYPE_PKEY:
335 key->type = htonl (rd->record_type); 338 key->type = htonl (rd->record_type);