Skip to content
Snippets Groups Projects
Commit 91fb4f07 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

minor fixes to the proxies.

parent fc1831f5
No related branches found
No related tags found
2 merge requests!136Master,!117Engine exchange strays
......@@ -354,7 +354,7 @@ void proxy_gparts_load(struct proxy *p, struct gpart *gparts, int N) {
}
/* Copy the parts and xparts data to the buffer. */
memcpy(&p->gparts_out[p->nr_gparts_out], parts, sizeof(struct gpart) * N);
memcpy(&p->gparts_out[p->nr_gparts_out], gparts, sizeof(struct gpart) * N);
/* Increase the counters. */
p->nr_gparts_out += N;
......
......@@ -32,7 +32,7 @@
#define proxy_tag_count 0
#define proxy_tag_parts 1
#define proxy_tag_xparts 2
#define proxy_tag_xparts 3
#define proxy_tag_gparts 3
#define proxy_tag_cells 4
/* Data structure for the proxy. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment