summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-07-04 11:59:10 +0000
committerChristian Grothoff <christian@grothoff.org>2012-07-04 11:59:10 +0000
commit2d8e7bcaf1656f2ebc75c447c5e2a7fee8664db2 (patch)
treea56a2db85f56afef1f362ea21afb8b0fe35900cd /src
parent598865ac48b28ab7af80747c0066a8d6a09a68b5 (diff)
-LRN: initialize rd to avoid having garbage in flags
Diffstat (limited to 'src')
-rw-r--r--src/namestore/gnunet-namestore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index cc6079895..5cac2e133 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -467,6 +467,7 @@ run (void *cls, char *const *args, const char *cfgfile,
ret = 1;
return;
}
+ memset (&rd, 0, sizeof (rd));
if (add)
{
if (NULL == name)