-static void\r
-serv_connect_ssl_callback(rb_fde_t *F, int status, void *data)\r
-{\r
- struct Client *client_p = data;\r
- rb_fde_t *xF[2];\r
- if(status != RB_OK)\r
- {\r
- /* XXX deal with failure */\r
- return;\r
- }\r
- rb_connect_sockaddr(F, (struct sockaddr *)&client_p->localClient->ip, sizeof(client_p->localClient->ip));\r
- rb_socketpair(AF_UNIX, SOCK_STREAM, 0, &xF[0], &xF[1], "Outgoing ssld connection");\r
- del_from_cli_fd_hash(client_p);\r
- client_p->localClient->F = xF[0];\r
- add_to_cli_fd_hash(client_p);\r
-\r
- client_p->localClient->ssl_ctl = start_ssld_connect(F, xF[1], rb_get_fd(xF[0]));\r
- SetSSL(client_p);\r
- rb_event_addonce("serv_connect_ev", serv_connect_ev, client_p, 1); \r
+static void
+serv_connect_ssl_callback(rb_fde_t *F, int status, void *data)
+{
+ struct Client *client_p = data;
+ rb_fde_t *xF[2];
+ if(status != RB_OK)
+ {
+ /* XXX deal with failure */
+ return;
+ }
+ rb_connect_sockaddr(F, (struct sockaddr *)&client_p->localClient->ip, sizeof(client_p->localClient->ip));
+ rb_socketpair(AF_UNIX, SOCK_STREAM, 0, &xF[0], &xF[1], "Outgoing ssld connection");
+ del_from_cli_fd_hash(client_p);
+ client_p->localClient->F = xF[0];
+ add_to_cli_fd_hash(client_p);
+
+ client_p->localClient->ssl_ctl = start_ssld_connect(F, xF[1], rb_get_fd(xF[0]));
+ SetSSL(client_p);
+ rb_event_addonce("serv_connect_ev", serv_connect_ev, client_p, 1);