remove output
[oweals/gnunet.git] / src / transport / plugin_transport_http_client.c
index 8f814b5903a80a657d00d0f9789d13206c8538bd..75daeab71da289a63787799ff21aeee9c4e846db 100644 (file)
@@ -1438,6 +1438,7 @@ client_connect (struct Session *s)
   return res;
 }
 
+
 /**
  * Function obtain the network type for a session
  *
@@ -1446,11 +1447,11 @@ client_connect (struct Session *s)
  * @return the network type in HBO or GNUNET_SYSERR
  */
 static enum GNUNET_ATS_Network_Type
-http_client_get_network (void *cls, void *session)
+http_client_get_network (void *cls,
+                        struct Session *session)
 {
-       struct Session *s = (struct Session *) session;
-       GNUNET_assert (NULL != s);
-       return ntohl(s->ats_address_network_type);
+  GNUNET_assert (NULL != session);
+  return ntohl (session->ats_address_network_type);
 }