s4:lib/socket: socket_connect_send() and socket_connect_ev() should only wrok with...
[ira/wip.git] / source4 / librpc / rpc / dcerpc_sock.c
index f0b542dae1ec9630656b4c88eb57df06b162445d..3cc842133958ac19daed8b2a5c1511d7291d962e 100644 (file)
@@ -338,7 +338,7 @@ static struct composite_context *dcerpc_pipe_open_socket_send(TALLOC_CTX *mem_ct
        s->sock->path = talloc_reference(s->sock, full_path);
 
        conn_req = socket_connect_send(s->socket_ctx, NULL, s->server, 0, 
-                                      NULL, c->event_ctx);
+                                      c->event_ctx);
        composite_continue(c, conn_req, continue_socket_connect, c);
        return c;
 }