diff options
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index 01305d678..5820c3d0c 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -795,16 +795,16 @@ static void | |||
795 | hash_for_index_cb (void *cls, | 795 | hash_for_index_cb (void *cls, |
796 | const struct GNUNET_HashCode *res) | 796 | const struct GNUNET_HashCode *res) |
797 | { | 797 | { |
798 | GNUNET_MQ_hd_fixed_size (index_start_ok, | ||
799 | GNUNET_MESSAGE_TYPE_FS_INDEX_START_OK, | ||
800 | struct GNUNET_MessageHeader); | ||
801 | GNUNET_MQ_hd_var_size (index_start_failed, | ||
802 | GNUNET_MESSAGE_TYPE_FS_INDEX_START_FAILED, | ||
803 | struct GNUNET_MessageHeader); | ||
804 | struct GNUNET_FS_PublishContext *pc = cls; | 798 | struct GNUNET_FS_PublishContext *pc = cls; |
805 | struct GNUNET_MQ_MessageHandler handlers[] = { | 799 | struct GNUNET_MQ_MessageHandler handlers[] = { |
806 | make_index_start_ok_handler (pc), | 800 | GNUNET_MQ_hd_fixed_size (index_start_ok, |
807 | make_index_start_failed_handler (pc), | 801 | GNUNET_MESSAGE_TYPE_FS_INDEX_START_OK, |
802 | struct GNUNET_MessageHeader, | ||
803 | pc), | ||
804 | GNUNET_MQ_hd_var_size (index_start_failed, | ||
805 | GNUNET_MESSAGE_TYPE_FS_INDEX_START_FAILED, | ||
806 | struct GNUNET_MessageHeader, | ||
807 | pc), | ||
808 | GNUNET_MQ_handler_end () | 808 | GNUNET_MQ_handler_end () |
809 | }; | 809 | }; |
810 | struct GNUNET_FS_FileInformation *p; | 810 | struct GNUNET_FS_FileInformation *p; |
@@ -1003,11 +1003,11 @@ loc_mq_error_handler (void *cls, | |||
1003 | static void | 1003 | static void |
1004 | create_loc_uri (struct GNUNET_FS_PublishContext *pc) | 1004 | create_loc_uri (struct GNUNET_FS_PublishContext *pc) |
1005 | { | 1005 | { |
1006 | GNUNET_MQ_hd_fixed_size (signature_response, | ||
1007 | GNUNET_MESSAGE_TYPE_FS_REQUEST_LOC_SIGNATURE, | ||
1008 | struct ResponseLocSignatureMessage); | ||
1009 | struct GNUNET_MQ_MessageHandler handlers[] = { | 1006 | struct GNUNET_MQ_MessageHandler handlers[] = { |
1010 | make_signature_response_handler (pc), | 1007 | GNUNET_MQ_hd_fixed_size (signature_response, |
1008 | GNUNET_MESSAGE_TYPE_FS_REQUEST_LOC_SIGNATURE, | ||
1009 | struct ResponseLocSignatureMessage, | ||
1010 | pc), | ||
1011 | GNUNET_MQ_handler_end () | 1011 | GNUNET_MQ_handler_end () |
1012 | }; | 1012 | }; |
1013 | struct GNUNET_MQ_Envelope *env; | 1013 | struct GNUNET_MQ_Envelope *env; |