aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-06-17 12:37:16 +0200
committerThomas White <taw@physics.org>2022-06-17 15:00:40 +0200
commit889ed82d2e9d37f59e6872401eea4fed78265ab5 (patch)
tree1ce2a38494831b21cd0ab1b2608e38be175f2d87 /src/im-sandbox.c
parent07217dbd38976849b50eb2c669ca902f068bdce9 (diff)
ASAP::O: Simplify by removing stream switching logic
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 0e5dfef9..44a04338 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -1191,18 +1191,7 @@ int create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
}
if ( sb->asapo ) {
- if ( asapo_group_id != NULL ) {
- sb->asapo_group_id = strdup(asapo_group_id);
- } else {
- sb->asapo_group_id = im_asapo_make_unique_group_id(asapo_endpoint,
- asapo_token);
- }
- if ( sb->asapo_group_id == NULL ) {
- ERROR("Failed to create ASAP::O group ID.\n");
- return 0;
- } else {
- STATUS("The unique ID is %s\n", sb->asapo_group_id);
- }
+ sb->asapo_group_id = strdup(asapo_group_id);
}
sb->fds = NULL;