From d41772e3735179103554d58738280957fb583874 Mon Sep 17 00:00:00 2001 From: Keith James Date: Fri, 27 Sep 2024 17:59:37 +0100 Subject: [PATCH] Fix invalid error message when listing checksums across a collection Listing collection contents raised an invalid error if checksums were requested. Remove the lines causing this because they are simply an incorrect addition. --- src/operations.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/operations.c b/src/operations.c index 811690a4..d4eb11b0 100644 --- a/src/operations.c +++ b/src/operations.c @@ -318,11 +318,6 @@ json_t *baton_json_dispatch_op(rodsEnv *env, rcComm_t *conn, json_t *envelope, else if (str_equals(op, JSON_LIST_OP, MAX_STR_LEN)) { result = baton_json_list_op(env, conn, target, &args_copy, error); if (error->code != 0) goto finally; - - if (args_copy.flags & PRINT_CHECKSUM) { - result = add_checksum_json_object(conn, result, error); - if (error->code != 0) goto finally; - } } else if (str_equals(op, JSON_METAMOD_OP, MAX_STR_LEN)) { result = baton_json_metamod_op(env, conn, target, &args_copy, error);