From a0210379ae19eb3528f462b02d81f6c77b9c96bb Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 20 May 2024 12:39:21 -0400 Subject: [PATCH] Avoid confusing log output when responding with a method not found error. --- src/ssb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssb.c b/src/ssb.c index 38f2e22f..d1358b48 100644 --- a/src/ssb.c +++ b/src/ssb.c @@ -1618,6 +1618,7 @@ static void _tf_ssb_connection_rpc_recv(tf_ssb_connection_t* connection, uint8_t } if (!found && !_tf_ssb_name_equals(context, val, (const char*[]) { "Error", NULL })) { + tf_ssb_connection_add_request(connection, -request_number, namebuf, NULL, NULL, NULL, NULL); char buffer[256]; _tf_ssb_name_to_string(context, val, buffer, sizeof(buffer)); tf_ssb_connection_rpc_send_error_method_not_allowed(connection, flags, -request_number, buffer);