-fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Jul 2012 08:12:32 +0000 (08:12 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Jul 2012 08:12:32 +0000 (08:12 +0000)
src/fs/fs_api.c

index 5b4bfa0207e1429b6f96940f8e484f4c2e3df62e..f31d8116d2ca1b4c52afc1d94b5a3fd654533833 100644 (file)
@@ -1803,7 +1803,7 @@ read_download_request (struct GNUNET_BIO_ReadHandle *rh)
   }
   if (dr->num_children > 0)
     dr->children =
-        GNUNET_malloc (dr->num_children * sizeof (struct ContentHashKey));
+        GNUNET_malloc (dr->num_children * sizeof (struct DownloadRequest));
   switch (dr->state)
   {
   case BRS_INIT: