Skip to content
Browse files

is not possible to direct FS_BIND_BY_OBJECT binds to certain segments

  • Loading branch information...
1 parent e1d106a commit 0bbee1380e9a7b4f0138b17a13c6e0cfc55fa847 @msalvadores msalvadores committed
Showing with 2 additions and 7 deletions.
  1. +2 −7 src/common/4s-client.c
View
9 src/common/4s-client.c
@@ -1551,13 +1551,8 @@ int fsp_bind_limit_many (fsp_link *link,
content += srids->length * 8;
memcpy(content, prids->data, prids->length * 8);
content += prids->length * 8;
-
- for (int k = 0; k < orids->length; ++k) {
- if (FS_RID_SEGMENT(orids->data[k], link->segments) == segment) {
- memcpy(content, orids->data + k, 8);
- content += 8;
- }
- }
+ memcpy(content, orids->data, orids->length * 8);
+ content += orids->length * 8;
sock[segment] = fsp_write(link, out, length);
free(out);

0 comments on commit 0bbee13

Please sign in to comment.
Something went wrong with that request. Please try again.