-LRN: initialize rd to avoid having garbage in flags
authorChristian Grothoff <christian@grothoff.org>
Wed, 4 Jul 2012 11:59:10 +0000 (11:59 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 4 Jul 2012 11:59:10 +0000 (11:59 +0000)
src/namestore/gnunet-namestore.c

index cc60798955313cc1b8b345442af3132efa1d857d..5cac2e1336ab27e92a3b8213c183c829c43c2366 100644 (file)
@@ -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)