diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-04 11:59:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-04 11:59:10 +0000 |
commit | 2d8e7bcaf1656f2ebc75c447c5e2a7fee8664db2 (patch) | |
tree | a56a2db85f56afef1f362ea21afb8b0fe35900cd | |
parent | 598865ac48b28ab7af80747c0066a8d6a09a68b5 (diff) | |
download | gnunet-2d8e7bcaf1656f2ebc75c447c5e2a7fee8664db2.tar.gz gnunet-2d8e7bcaf1656f2ebc75c447c5e2a7fee8664db2.zip |
-LRN: initialize rd to avoid having garbage in flags
-rw-r--r-- | src/namestore/gnunet-namestore.c | 1 |
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, | |||
467 | ret = 1; | 467 | ret = 1; |
468 | return; | 468 | return; |
469 | } | 469 | } |
470 | memset (&rd, 0, sizeof (rd)); | ||
470 | if (add) | 471 | if (add) |
471 | { | 472 | { |
472 | if (NULL == name) | 473 | if (NULL == name) |