aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-06 22:00:14 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-06 22:00:14 +0000
commit9f7e7d369a842fe1621bc4b9af64ac3e5f609bde (patch)
treece8a877ecca413cc82013786c49ecb64920d34a4 /src/revocation/revocation_api.c
parentba414944bc487d03442a05a8d6415ce8d536ddd0 (diff)
-finishing revocation command line tool
Diffstat (limited to 'src/revocation/revocation_api.c')
-rw-r--r--src/revocation/revocation_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index acc13ba679..ebf85a94e3 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -294,8 +294,8 @@ send_revoke (void *cls,
GNUNET_REVOCATION_revoke_cancel (h);
return 0;
}
- rm.header.size = htons (sizeof (struct QueryMessage));
- rm.header.type = htons (GNUNET_MESSAGE_TYPE_REVOCATION_QUERY);
+ rm.header.size = htons (sizeof (struct RevokeMessage));
+ rm.header.type = htons (GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE);
rm.reserved = htonl (0);
rm.proof_of_work = h->pow;
rm.purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_REVOCATION);