summaryrefslogtreecommitdiff
path: root/lib/peer.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-26 09:48:36 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-26 09:48:36 +0200
commit9b9df4b9bfc3550fdcf61f173711603c27bf48f6 (patch)
treef2ef1036278b2d27da9ab1599cb0cbb67aefbb33 /lib/peer.c
parentd059d851f47be5ff17cb1ed432f88022e4fed559 (diff)
Follow name change of rs_resolv().
Diffstat (limited to 'lib/peer.c')
-rw-r--r--lib/peer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/peer.c b/lib/peer.c
index bcd5c97..e4f76a2 100644
--- a/lib/peer.c
+++ b/lib/peer.c
@@ -66,14 +66,14 @@ rs_peer_create (struct rs_connection *conn, struct rs_peer **peer_out)
int
rs_peer_set_address (struct rs_peer *peer, const char *hostname,
- const char *service)
+ const char *service)
{
struct rs_error *err;
assert (peer);
assert (peer->realm);
- err = rs_resolv (&peer->addr, peer->realm->type, hostname, service);
+ err = rs_resolve (&peer->addr, peer->realm->type, hostname, service);
if (err)
return err_conn_push_err (peer->conn, err);
return RSE_OK;