return result;
}
-/* pkgname, id, cluster, category, ret */
+/* pkgname, id, cluster, category, content, ret */
static struct packet *master_update_content(pid_t pid, int handle, const struct packet *packet)
{
struct event_arg arg;
int ret;
- ret = packet_get(packet, "ssss", &arg.pkgname, &arg.id, &arg.info.update_content.cluster, &arg.info.update_content.category);
- if (ret != 4) {
+ ret = packet_get(packet, "sssss", &arg.pkgname, &arg.id, &arg.info.update_content.cluster, &arg.info.update_content.category, &arg.info.update_content.content);
+ if (ret != 5) {
ErrPrint("Parameter is not valid\n");
goto errout;
}