-LRN: initialize rd to avoid having garbage in flags
[oweals/gnunet.git] / 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)