Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prov/shm: fix name compare bug #10655

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prov/shm/src/smr_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ void smr_map_del(struct smr_map *map, int64_t id)
assert(id >= 0 && id < SMR_MAX_PEERS);
pthread_mutex_lock(&ep_list_lock);
dlist_foreach_container(&ep_name_list, struct smr_ep_name, name, entry) {
if (strcmp(name->name, map->peers[id].peer.name)) {
if (!strcmp(name->name, map->peers[id].peer.name)) {
local = true;
break;
}
Expand Down
Loading