summaryrefslogtreecommitdiff
path: root/lib/radsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/radsec.c')
-rw-r--r--lib/radsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radsec.c b/lib/radsec.c
index 058d0f8..3a2f5f7 100644
--- a/lib/radsec.c
+++ b/lib/radsec.c
@@ -146,7 +146,7 @@ _peer_new (struct rs_connection *conn, const char *hostname, int port)
{
memset (p, 0, sizeof(struct rs_peer));
p->conn = conn;
- p->s = -1;
+ p->fd = -1;
p->addr = addr;
p->next = conn->peers;
if (conn->peers)