Fixed compile error
authorBart Polot <bart@net.in.tum.de>
Fri, 15 Apr 2011 11:36:35 +0000 (11:36 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 15 Apr 2011 11:36:35 +0000 (11:36 +0000)
src/mesh/gnunet-service-mesh.c

index 6e94fbb5a4545efc461d2bc0fcdea4ea9c61f21e..1bc7405122dfd6fe9f7a51294b1e5f6b4e9a8527 100644 (file)
@@ -671,7 +671,7 @@ handle_local_tunnel_create (void *cls,
         }
     }
     /* FIXME: calloc? is NULL != 0 on any platform? */
-    t = GNUNET_malloc(sizeof(MESH_tunnel));
+    t = GNUNET_malloc(sizeof(struct MESH_tunnel));
     t->tid = ntohl(tunnel_msg->tunnel_id);
     /* FIXME: t->oid = selfid;*/
     t->peers_ready = 0;