Revision b9e7dd7b src/TopologyManager/cloudcast_proto.c

View differences:

src/TopologyManager/cloudcast_proto.c
123 123
  len = cloudcast_payload_fill(context, headerless_pkt, MAX_MSG_SIZE - sizeof(cloud_header), cloud_cache, 0, 1);
124 124

  
125 125
  if (len > 0)
126
    res = put_on_cloud(context->cloud_context, CLOUD_VIEW_KEY, headerless_pkt, len);
126
    res = put_on_cloud(context->cloud_context, CLOUD_VIEW_KEY, headerless_pkt, len, 0);
127 127
  else
128 128
    res = 0;
129 129
  return res;
......
131 131

  
132 132
int cloudcast_query_cloud(struct cloudcast_proto_context *context)
133 133
{
134
  return get_from_cloud(context->cloud_context, CLOUD_VIEW_KEY, (uint8_t *)&cloud_header, sizeof(cloud_header));
134
  return get_from_cloud(context->cloud_context, CLOUD_VIEW_KEY, (uint8_t *)&cloud_header, sizeof(cloud_header), 0);
135 135
}
136 136

  
137 137
struct peer_cache * cloudcast_cloud_default_reply(struct peer_cache *template, struct nodeID *cloud_entry)

Also available in: Unified diff