at least compiling fix
[oweals/gnunet.git] / src / transport / test_transport_api_timeout.c
index 05fb01d1d663fbeae15965bb558e6e2f9c93b460..042cbebedd87f5c73867b9c3cf8208faebb198fb 100644 (file)
@@ -79,11 +79,11 @@ static void
 notify_receive (void *cls,
                 struct GNUNET_TRANSPORT_TESTING_PeerContext *receiver,
                 const struct GNUNET_PeerIdentity *sender,
-                const struct GNUNET_MessageHeader *message)
+                const struct GNUNET_TRANSPORT_TESTING_TestMessage *message)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Received message of type %d from peer %s!\n",
-              ntohs (message->type),
+              ntohs (message->header.type),
              GNUNET_i2s (sender));
 }