commit dffec1769ac5cb3ae6a6b2b18e1170b1deb4a7bb
parent 404c643b5223e4f6f1fc0d673b4addd6669606e4
Author: Matthias Wachs <wachs@net.in.tum.de>
Date: Wed, 10 Jul 2013 12:20:21 +0000
unkown session reporting
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
@@ -466,7 +466,12 @@ GST_ats_update_metrics (const struct GNUNET_PeerIdentity *peer,
GNUNET_break (0);
return;
}
- GNUNET_ATS_address_update (GST_ats, address, session, ats_new, ats_count);
+ if (GNUNET_NO == GNUNET_ATS_address_update (GST_ats, address, session, ats_new, ats_count))
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ _("Address or session unknown: failed to update properties for peer `%s' plugin `%s' address `%s'\n"),
+ GNUNET_i2s (peer), address->transport_name, GST_plugins_a2s (address));
+ }
GNUNET_free (ats_new);
}