summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/server.c b/src/core/server.c
index 0adb3b46..724f0d1c 100644
--- a/src/core/server.c
+++ b/src/core/server.c
@@ -167,7 +167,7 @@ static void server_connect_callback_readpipe(SERVER_REC *server)
errormsg = iprec.errorstr != NULL ? iprec.errorstr :
"Host lookup failed";
}
- server_cant_connect(server, rrormsg);
+ server_cant_connect(server, errormsg);
g_free_not_null(iprec.errorstr);
return;
}