You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2019/04/11 17:07:11 UTC

[qpid-proton] 05/15: NO-JIRA: [c] missing break in send-ssl.c example

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

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

commit 411f679ab023dd77254ae6be36aee2e70319ceb0
Author: Jiří Daněk <jd...@redhat.com>
AuthorDate: Thu Feb 21 17:51:49 2019 +0100

    NO-JIRA: [c] missing break in send-ssl.c example
    
        CID 214944 (#1 of 1): Missing break in switch (MISSING_BREAK)unterminated_case: The case for value
        PN_CONNECTION_REMOTE_OPEN is not terminated by a 'break' statement.
    
    (cherry picked from commit 01d88598ecccd8cd24bd02533bc476594412a1a0)
---
 c/examples/send-ssl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/c/examples/send-ssl.c b/c/examples/send-ssl.c
index 76e66a9..c8b9e0c 100644
--- a/c/examples/send-ssl.c
+++ b/c/examples/send-ssl.c
@@ -134,6 +134,7 @@ static bool handle(app_data_t* app, pn_event_t* event) {
        printf("secure connection: %s\n", name);
        fflush(stdout);
      }
+     break;
    }
 
    case PN_LINK_FLOW: {


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