include element type in hash
[oweals/gnunet.git] / src / core / gnunet-core.c
index 25127da6642a13427261ec7ec02251639ee3dd27..97895b5a3987cb9adebed8ddb29b1b9020b22eb8 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2011, 2012, 2014 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2011, 2012, 2014 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -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.
 */
 
 /**
@@ -119,10 +119,12 @@ monitor_cb (void *cls,
   }
   now_str = GNUNET_STRINGS_absolute_time_to_string (now);
   FPRINTF (stdout,
-           _("%24s: %-17s %4s\n"),
+           _("%24s: %-30s %4s (timeout in %6s)\n"),
            now_str,
            state_str,
-           GNUNET_i2s (peer));
+           GNUNET_i2s (peer),
+           GNUNET_STRINGS_relative_time_to_string (GNUNET_TIME_absolute_get_remaining (timeout),
+                                                   GNUNET_YES));
 }