qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [8/9] qpid-proton git commit: PROTON-749: Fix erroneous windows change due to previous version to changeset.
Date Thu, 20 Nov 2014 16:15:01 GMT
PROTON-749: Fix erroneous windows change due to previous version to changeset.


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

Branch: refs/heads/master
Commit: 0cc91340dd8fa4701bfcf8ba55691d825a9fa03b
Parents: 0fd34e8
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Thu Nov 20 10:46:32 2014 -0500
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Thu Nov 20 10:46:32 2014 -0500

----------------------------------------------------------------------
 proton-c/src/windows/driver.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0cc91340/proton-c/src/windows/driver.c
----------------------------------------------------------------------
diff --git a/proton-c/src/windows/driver.c b/proton-c/src/windows/driver.c
index 013b422..d446aae 100644
--- a/proton-c/src/windows/driver.c
+++ b/proton-c/src/windows/driver.c
@@ -285,7 +285,8 @@ pn_connector_t *pn_listener_accept(pn_listener_t *l)
     pn_connector_t *c = pn_connector_fd(l->driver, sock, NULL);
     snprintf(c->name, PN_NAME_MAX, "%s", name);
     c->listener = l;
-    c->transport = pn_transport_server();
+    c->transport = pn_transport();
+    pn_transport_set_server(c->transport);
     c->sasl = pn_sasl(c->transport);
     return c;
   }
@@ -385,7 +386,7 @@ pn_connector_t *pn_connector(pn_driver_t *driver, const char *host,
 
   pn_socket_t sock = pn_connect(driver->io, host, port);
   pn_connector_t *c = pn_connector_fd(driver, sock, context);
-  c->transport = pn_transport_client();
+  c->transport = pn_transport();
   c->sasl = pn_sasl(c->transport);
   snprintf(c->name, PN_NAME_MAX, "%s:%s", host, port);
   if (driver->trace & (PN_TRACE_FRM | PN_TRACE_RAW | PN_TRACE_DRV))


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


Mime
View raw message