Clear connection timeout timer when successfully connecting.

This commit is contained in:
Jan Vidar Krey 2014-08-05 17:40:55 +02:00
parent 46bdc77066
commit ac543e3df4

View File

@ -201,6 +201,7 @@ static int net_connect_job_check(struct net_connect_job* job)
{
LOG_TRACE("net_connect_job_check(): Socket connected!");
job->con = NULL;
net_con_clear_timeout(con);
net_connect_callback(job->handle, net_connect_status_ok, con);
return 1;
}