You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/10/31 15:10:43 UTC

qpid-proton git commit: PROTON-1616: [c++ examples] missing break statement found by Coverity

Repository: qpid-proton
Updated Branches:
  refs/heads/master 98dd87b17 -> e7f20252d


PROTON-1616: [c++ examples] missing break statement found by Coverity


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e7f20252
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e7f20252
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e7f20252

Branch: refs/heads/master
Commit: e7f20252d4a62da92067fd715c1b20ebbf7d044b
Parents: 98dd87b
Author: Alan Conway <ac...@redhat.com>
Authored: Tue Oct 31 11:09:46 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Oct 31 11:10:40 2017 -0400

----------------------------------------------------------------------
 examples/c/send-ssl.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e7f20252/examples/c/send-ssl.c
----------------------------------------------------------------------
diff --git a/examples/c/send-ssl.c b/examples/c/send-ssl.c
index 83a3ab3..4fc80c3 100644
--- a/examples/c/send-ssl.c
+++ b/examples/c/send-ssl.c
@@ -129,6 +129,7 @@ static bool handle(app_data_t* app, pn_event_t* event) {
    case PN_CONNECTION_BOUND: {
      int err =  pn_ssl_init(pn_ssl(pn_event_transport(event)), app->ssl_domain, NULL);
      if (err) fprintf(stderr, "error encoding message: %s\n", pn_code(err));
+     break;
    }
 
    case PN_LINK_FLOW: {


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