summaryrefslogtreecommitdiffstats
path: root/src/kiro-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kiro-client.c')
-rw-r--r--src/kiro-client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kiro-client.c b/src/kiro-client.c
index 2f0671b..1175e7e 100644
--- a/src/kiro-client.c
+++ b/src/kiro-client.c
@@ -93,7 +93,7 @@ kiro_client_class_init (KiroClientClass *klass)
int
-kiro_client_connect (KiroClient *self, char *address, char *port)
+kiro_client_connect (KiroClient *self, const char *address, const char *port)
{
KiroClientPrivate *priv = KIRO_CLIENT_GET_PRIVATE (self);
@@ -244,7 +244,6 @@ kiro_client_sync (KiroClient *self)
g_critical ("Could not get data from server. Status %u", wc.status);
}
-
fail:
rdma_disconnect (priv->conn);
kiro_destroy_connection_context (&ctx);