fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 9 Aug 2011 08:29:44 +0000 (08:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 9 Aug 2011 08:29:44 +0000 (08:29 +0000)
src/mesh/gnunet-service-mesh.c

index b8846934f9e4271449a118f0bb5b94c1b3270245..cbb8e40fa568e4b07c383c55548ff871f5bf85b3 100644 (file)
@@ -2558,7 +2558,7 @@ handle_local_unicast (void *cls,
         struct GNUNET_MESH_Unicast      copy;
         memcpy(&copy, data_msg, sizeof(struct GNUNET_MESH_Unicast));
 
-        handle_mesh_data_unicast(NULL, NULL, copy, NULL);
+        handle_mesh_data_unicast(NULL, NULL, &copy.header, NULL);
         return;
     }
     GNUNET_PEER_resolve(get_first_hop(pi->path), &next_hop);