[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34455 - gnunet/src/revocation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34455 - gnunet/src/revocation |
Date: |
Sun, 30 Nov 2014 01:46:58 +0100 |
Author: grothoff
Date: 2014-11-30 01:46:58 +0100 (Sun, 30 Nov 2014)
New Revision: 34455
Modified:
gnunet/src/revocation/gnunet-service-revocation.c
Log:
-fix ftbfs
Modified: gnunet/src/revocation/gnunet-service-revocation.c
===================================================================
--- gnunet/src/revocation/gnunet-service-revocation.c 2014-11-30 00:45:18 UTC
(rev 34454)
+++ gnunet/src/revocation/gnunet-service-revocation.c 2014-11-30 00:46:58 UTC
(rev 34455)
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- (C) 2013 Christian Grothoff (and other contributing authors)
+ (C) 2013, 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 Licerevocation as published
@@ -428,20 +428,21 @@
"# revocation messages received via set union",
1, GNUNET_NO);
break;
- case GNUNET_SET_STATUS_TIMEOUT:
case GNUNET_SET_STATUS_FAILURE:
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_("Error computing revocation set union with %s\n"),
GNUNET_i2s (&peer_entry->id));
peer_entry->so = NULL;
- GNUNET_STATISTICS_update (stats, "# revocation set unions failed",
+ GNUNET_STATISTICS_update (stats,
+ "# revocation set unions failed",
1, GNUNET_NO);
break;
case GNUNET_SET_STATUS_HALF_DONE:
break;
case GNUNET_SET_STATUS_DONE:
peer_entry->so = NULL;
- GNUNET_STATISTICS_update (stats, "# revocation set unions completed",
+ GNUNET_STATISTICS_update (stats,
+ "# revocation set unions completed",
1, GNUNET_NO);
break;
default:
@@ -801,11 +802,12 @@
}
revocation_set = GNUNET_SET_create (cfg,
GNUNET_SET_OPERATION_UNION);
- revocation_union_listen_handle = GNUNET_SET_listen (cfg,
-
GNUNET_SET_OPERATION_UNION,
-
&revocation_set_union_app_id,
-
&handle_revocation_union_request,
- NULL);
+ revocation_union_listen_handle
+ = GNUNET_SET_listen (cfg,
+ GNUNET_SET_OPERATION_UNION,
+ &revocation_set_union_app_id,
+ &handle_revocation_union_request,
+ NULL);
revocation_db = GNUNET_DISK_file_open (fn,
GNUNET_DISK_OPEN_READWRITE |
GNUNET_DISK_OPEN_CREATE,
@@ -892,7 +894,10 @@
strlen ("revocation-set-union-application-id"),
&revocation_set_union_app_id);
return (GNUNET_OK ==
- GNUNET_SERVICE_run (argc, argv, "revocation",
GNUNET_SERVICE_OPTION_NONE,
+ GNUNET_SERVICE_run (argc,
+ argv,
+ "revocation",
+ GNUNET_SERVICE_OPTION_NONE,
&run, NULL)) ? 0 : 1;
}
@@ -900,6 +905,7 @@
#ifdef LINUX
#include <malloc.h>
+
/**
* MINIMIZE heap size (way below 128k) since this process doesn't need much.
*/
@@ -913,5 +919,4 @@
#endif
-
/* end of gnunet-service-revocation.c */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34455 - gnunet/src/revocation,
gnunet <=