You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2023/10/31 01:06:58 UTC

(qpid-proton) branch main updated: PROTON-2773: Use PN_FALLTHROUGH in libuv proactor

This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new e7c48ce11 PROTON-2773: Use PN_FALLTHROUGH in libuv proactor
e7c48ce11 is described below

commit e7c48ce11df48da49be31b0a1f1252d062ff6f9b
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Mon Oct 30 20:51:34 2023 -0400

    PROTON-2773: Use PN_FALLTHROUGH in libuv proactor
    
    This reverts commit 904ea7b8c8bca451f5b56a81138902be286b2b62.
---
 c/src/proactor/libuv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/proactor/libuv.c b/c/src/proactor/libuv.c
index b2663fa33..3bef54f0d 100644
--- a/c/src/proactor/libuv.c
+++ b/c/src/proactor/libuv.c
@@ -758,7 +758,7 @@ static bool leader_process_listener(pn_listener_t *l) {
       uv_safe_close((uv_handle_t*)&ls->tcp, on_close_lsocket);
     }
     /* NOTE: Fall through in case we have 0 sockets - e.g. resolver error */
-
+    PN_FALLTHROUGH;
    case L_CLOSING:              /* Closing - can we send PN_LISTENER_CLOSE? */
     if (!l->lsockets) {
       l->state = L_CLOSED;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org