gcc
authorChristian Grothoff <christian@grothoff.org>
Sun, 20 Jun 2010 16:49:05 +0000 (16:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 20 Jun 2010 16:49:05 +0000 (16:49 +0000)
src/fs/gnunet-service-fs.c

index 7c50f3a52cd02c8ddcb6790510c37771661a9c2a..ccdd76de235fb1add6c72bd6d857fd95dd9d53d7 100644 (file)
@@ -3086,7 +3086,7 @@ handle_p2p_get (void *cls,
   if (have_ns)
     {
       pr->namespace = (GNUNET_HashCode*) &pr[1];
-      memcpy (pr->namespace, &opt[bits++], sizeof (GNUNET_HashCode));
+      memcpy (&pr[1], &opt[bits++], sizeof (GNUNET_HashCode));
     }
   pr->type = type;
   pr->mingle = ntohl (gm->filter_mutator);