aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/gnunet-service-peerinfo.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-29 20:47:18 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-29 20:47:18 +0000
commit71ea5bd2d05058008e604ffd42993be9c7250e04 (patch)
treea5074671ddfaa9d1621a4182fc95a91a98b3d536 /src/peerinfo/gnunet-service-peerinfo.c
parentb335777fd435142c16eb05e86c8a64a4b1a45447 (diff)
downloadgnunet-71ea5bd2d05058008e604ffd42993be9c7250e04.tar.gz
gnunet-71ea5bd2d05058008e604ffd42993be9c7250e04.zip
-fixing indentation
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index fc7cc781f..799fdc6d8 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -122,8 +122,7 @@ make_info_message (const struct HostEntry *he)
122 * @return GNUNET_NO if expiration smaller than the current time 122 * @return GNUNET_NO if expiration smaller than the current time
123 */ 123 */
124static int 124static int
125discard_expired (void *cls, 125discard_expired (void *cls, const struct GNUNET_HELLO_Address *address,
126 const struct GNUNET_HELLO_Address *address,
127 struct GNUNET_TIME_Absolute expiration) 126 struct GNUNET_TIME_Absolute expiration)
128{ 127{
129 const struct GNUNET_TIME_Absolute *now = cls; 128 const struct GNUNET_TIME_Absolute *now = cls;
@@ -131,8 +130,8 @@ discard_expired (void *cls,
131 if (now->abs_value > expiration.abs_value) 130 if (now->abs_value > expiration.abs_value)
132 { 131 {
133 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 132 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
134 _("Removing expired address of transport `%s'\n"), 133 _("Removing expired address of transport `%s'\n"),
135 address->transport_name); 134 address->transport_name);
136 return GNUNET_NO; 135 return GNUNET_NO;
137 } 136 }
138 return GNUNET_OK; 137 return GNUNET_OK;