]> jfr.im git - solanum.git/blobdiff - tests/sasl_abort1.c
add SNO_FARCONNECT to the help text (#260)
[solanum.git] / tests / sasl_abort1.c
index d2e5321a66e42511f166681d8c68383c89ed2fcd..cdd5b924ec2e106c927f9de23f639bbbe238d6ac 100644 (file)
@@ -45,7 +45,7 @@ static void common_sasl_test(bool aborted, bool by_user)
        struct Client *server = make_remote_server(&me);
        struct Client *remote = make_remote_person(server);
 
-       rb_inet_pton_sock(TEST_IP, (struct sockaddr *)&user->localClient->ip);
+       rb_inet_pton_sock(TEST_IP, &user->localClient->ip);
        rb_strlcpy(user->host, TEST_HOSTNAME, sizeof(user->host));
        rb_inet_ntop_sock((struct sockaddr *)&user->localClient->ip, user->sockhost, sizeof(user->sockhost));