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/05/02 16:08:04 UTC
qpid-dispatch git commit: DISPATCH-390: Fix const error in server.c
Repository: qpid-dispatch
Updated Branches:
refs/heads/master 7c795ac65 -> 04d871e0b
DISPATCH-390: Fix const error in server.c
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/04d871e0
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/04d871e0
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/04d871e0
Branch: refs/heads/master
Commit: 04d871e0b67775f571401a92a2d6b7373e0c5f2c
Parents: 7c795ac
Author: Alan Conway <ac...@redhat.com>
Authored: Tue May 2 11:47:52 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue May 2 12:07:38 2017 -0400
----------------------------------------------------------------------
src/server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/04d871e0/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index a3fbe40..d89912e 100644
--- a/src/server.c
+++ b/src/server.c
@@ -557,7 +557,7 @@ void connect_fail(qd_connection_t *ctx, const char *name, const char *descriptio
/* Get the host IP address for the remote end */
static void set_rhost_port(qd_connection_t *ctx) {
pn_transport_t *tport = pn_connection_transport(ctx->pn_conn);
- struct sockaddr* sa = pn_netaddr_sockaddr(pn_netaddr_remote(tport));
+ const struct sockaddr* sa = pn_netaddr_sockaddr(pn_netaddr_remote(tport));
size_t salen = pn_netaddr_socklen(pn_netaddr_remote(tport));
if (sa && salen) {
char rport[NI_MAXSERV] = "";
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org