aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-28 13:01:24 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-28 13:01:24 +0000
commitce50b8a84417f171483a2897d47bb20758d664ef (patch)
tree7d035214556fc0f9bc49028937da9ba3c0105f7c /src/gnsrecord
parent395ccb4e9581ac7a54c8666371275d2ae90fcca0 (diff)
disabling for debug
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/gnsrecord_serialization.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gnsrecord/gnsrecord_serialization.c b/src/gnsrecord/gnsrecord_serialization.c
index 4b54bd3667..0c70ad2468 100644
--- a/src/gnsrecord/gnsrecord_serialization.c
+++ b/src/gnsrecord/gnsrecord_serialization.c
@@ -119,11 +119,13 @@ GNUNET_GNSRECORD_records_serialize (unsigned int rd_count,
off = 0;
for (i=0;i<rd_count;i++)
{
+#if 0
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Serializing record %u with flags %d and expiration time %llu\n",
i,
rd[i].flags,
(unsigned long long) rd[i].expiration_time);
+#endif
rec.expiration_time = GNUNET_htonll (rd[i].expiration_time);
rec.data_size = htonl ((uint32_t) rd[i].data_size);
rec.record_type = htonl (rd[i].record_type);
@@ -175,11 +177,13 @@ GNUNET_GNSRECORD_records_deserialize (size_t len,
return GNUNET_SYSERR;
dest[i].data = &src[off];
off += dest[i].data_size;
+#if 0
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Deserialized record %u with flags %d and expiration time %llu\n",
i,
dest[i].flags,
(unsigned long long) dest[i].expiration_time);
+#endif
}
return GNUNET_OK;
}