Don't set a timeout deep inside wb_connect
[ira/wip.git] / source3 / lib / wbclient.c
index 979aa94d40fc6a701b517d3961c1738f9117149e..41f5c81afe7e0ec50eedae7fe878155594ed9ebc 100644 (file)
@@ -261,11 +261,6 @@ static struct tevent_req *wb_connect_send(TALLOC_CTX *mem_ctx,
                goto nomem;
        }
        tevent_req_set_callback(subreq, wbc_connect_connected, result);
-
-       if (!tevent_req_set_endtime(subreq, ev, timeval_current_ofs(30, 0))) {
-               goto nomem;
-       }
-
        return result;
 
  post_status: