-improving error reporting on #2295
authorChristian Grothoff <christian@grothoff.org>
Wed, 2 May 2012 19:45:21 +0000 (19:45 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 2 May 2012 19:45:21 +0000 (19:45 +0000)
src/peerinfo-tool/gnunet-peerinfo.c

index 8bb7392d94754eabcc6caddecc742e1ce7793327..3aded8eea108964c00907ccbb4d14595895b9d2a 100644 (file)
@@ -645,8 +645,9 @@ add_address_to_hello (void *cls, size_t max, void *buffer)
                               &addr_len))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                _("Failed to parse `%s'\n"),
-               plugin_address);
+                _("Failed to parse `%s' as an address for plugin `%s'\n"),
+               plugin_address,
+               plugin_name);
     GNUNET_free (plugin_name);
     GNUNET_free (plugin_address);
     return 0;