Update plibc header
[oweals/gnunet.git] / src / revocation / revocation_api.c
index acc13ba67950b3c8f7e3dc92135bf6710c619fc6..ebf85a94e32db5ad6e0fa6fa01d4c1c9586f70f2 100644 (file)
@@ -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);