From dbe3e14617f89287b2ef7c388ca6a7f5d8a175d8 Mon Sep 17 00:00:00 2001 From: Xavrax Date: Fri, 13 Oct 2023 12:11:26 +0200 Subject: [PATCH] remove TODO --- core/pubnub_ccore_pubsub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/pubnub_ccore_pubsub.c b/core/pubnub_ccore_pubsub.c index e2a88503..153a7ab8 100644 --- a/core/pubnub_ccore_pubsub.c +++ b/core/pubnub_ccore_pubsub.c @@ -554,8 +554,7 @@ enum pubnub_res pbcc_publish_prep(struct pbcc_context* pb, if (NULL == encrypted.ptr) { PUBNUB_LOG_ERROR("pbcc_publish_prep(pbcc=%p) - encryption failed\n", pb); free(message_block.ptr); - // TODO: add a specific error code for this - // left as todo because of breaking the API + return PNR_INTERNAL_ERROR; }