#include "platform.h"
#include "gnunet_hello_lib.h"
-#include "plugin_block.h"
+#include "gnunet_block_plugin.h"
#define DEBUG_DHT GNUNET_NO
"block-dht",
_("Block not of type %u\n"),
GNUNET_BLOCK_TYPE_DHT_HELLO);
- return GNUNET_SYSERR;
+ return GNUNET_NO;
}
msg = block;
if (block_size != ntohs (msg->size))
"block-dht",
_("Size mismatch for block\n"),
GNUNET_BLOCK_TYPE_DHT_HELLO);
- return GNUNET_SYSERR;
+ return GNUNET_NO;
}
hello = block;
pid = (struct GNUNET_PeerIdentity*) key;
"block-dht",
_("Block of type %u is malformed\n"),
GNUNET_BLOCK_TYPE_DHT_HELLO);
- return GNUNET_SYSERR;
+ return GNUNET_NO;
}
return GNUNET_OK;
}