Skip to content

Commit

Permalink
sca: return on rpc fault
Browse files Browse the repository at this point in the history
(cherry picked from commit 005f446)
  • Loading branch information
miconda committed Apr 15, 2021
1 parent ce30413 commit 681952d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/sca/sca_rpc.c
Expand Up @@ -184,6 +184,7 @@ void sca_rpc_deactivate_all_subscriptions(rpc_t *rpc, void *ctx)

if((ht = sca->subscriptions) == NULL) {
rpc->fault(ctx, 500, "Empty subscription table!");
return;
}

for(i = 0; i < ht->size; i++) {
Expand Down

0 comments on commit 681952d

Please sign in to comment.