-fix NPE
[oweals/gnunet.git] / src / transport / gnunet-service-transport_manipulation.c
index b58ade999a17063b2f61f3f2b876b0741a39837f..89d4b532a2b956f8bd17c19df2ed972d0be2389a 100644 (file)
@@ -14,8 +14,8 @@
 
  You should have received a copy of the GNU General Public License
  along with GNUnet; see the file COPYING.  If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
  */
 
 /**
@@ -369,7 +369,7 @@ GST_manipulation_send (const struct GNUNET_PeerIdentity *target,
  */
 void
 GST_manipulation_manipulate_metrics (const struct GNUNET_HELLO_Address *address,
-                                     struct Session *session,
+                                     struct GNUNET_ATS_Session *session,
                                      struct GNUNET_ATS_Properties *prop)
 {
   const struct GNUNET_PeerIdentity *peer = &address->peer;
@@ -395,7 +395,7 @@ GST_manipulation_manipulate_metrics (const struct GNUNET_HELLO_Address *address,
 struct GNUNET_TIME_Relative
 GST_manipulation_recv (void *cls,
                        const struct GNUNET_HELLO_Address *address,
-                       struct Session *session,
+                       struct GNUNET_ATS_Session *session,
                        const struct GNUNET_MessageHeader *message)
 {
   struct TM_Peer *tmp;