[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29909 - gnunet/src/revocation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29909 - gnunet/src/revocation |
Date: |
Sun, 6 Oct 2013 23:29:56 +0200 |
Author: grothoff
Date: 2013-10-06 23:29:55 +0200 (Sun, 06 Oct 2013)
New Revision: 29909
Modified:
gnunet/src/revocation/gnunet-service-revocation.c
gnunet/src/revocation/revocation.conf.in
Log:
-fix config, fix ntohs, must be ntohl
Modified: gnunet/src/revocation/gnunet-service-revocation.c
===================================================================
--- gnunet/src/revocation/gnunet-service-revocation.c 2013-10-06 21:13:54 UTC
(rev 29908)
+++ gnunet/src/revocation/gnunet-service-revocation.c 2013-10-06 21:29:55 UTC
(rev 29909)
@@ -195,7 +195,7 @@
GNUNET_h2s (&hc));
qrm.header.size = htons (sizeof (struct QueryResponseMessage));
qrm.header.type = htons (GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE);
- qrm.is_valid = htons ((GNUNET_YES == res) ? GNUNET_NO : GNUNET_YES);
+ qrm.is_valid = htonl ((GNUNET_YES == res) ? GNUNET_NO : GNUNET_YES);
GNUNET_SERVER_notification_context_add (nc,
client);
GNUNET_SERVER_notification_context_unicast (nc,
@@ -328,7 +328,7 @@
}
rrm.header.size = htons (sizeof (struct RevocationResponseMessage));
rrm.header.type = htons (GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE);
- rrm.is_valid = htons ((GNUNET_OK == ret) ? GNUNET_NO : GNUNET_YES);
+ rrm.is_valid = htonl ((GNUNET_OK == ret) ? GNUNET_NO : GNUNET_YES);
GNUNET_SERVER_notification_context_add (nc,
client);
GNUNET_SERVER_notification_context_unicast (nc,
Modified: gnunet/src/revocation/revocation.conf.in
===================================================================
--- gnunet/src/revocation/revocation.conf.in 2013-10-06 21:13:54 UTC (rev
29908)
+++ gnunet/src/revocation/revocation.conf.in 2013-10-06 21:29:55 UTC (rev
29909)
@@ -1,6 +1,5 @@
[revocation]
-AUTOSTART = NO
-# not yet...
+AUTOSTART = YES
@address@hidden = 2112
HOSTNAME = localhost
HOME = $SERVICEHOME
@@ -16,3 +15,4 @@
# DO NOT CHANGE THIS VALUE, doing so will break the protocol!
WORKBITS = 25
+DATABASE = $SERVICEHOME/revocation.db
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29909 - gnunet/src/revocation,
gnunet <=