transports: fix buglet

This commit is contained in:
Michael Schubert 2012-06-05 23:03:06 +02:00
parent 966fbdcb8e
commit fdc5c38e40
2 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@ static int git_close(git_transport *t)
return -1;
}
t->parent.connected = 0;
t->connected = 0;
#ifdef GIT_WIN32
WSACleanup();

View File

@ -613,7 +613,7 @@ static int http_close(git_transport *transport)
return -1;
}
t->parent.connected = 0;
transport->connected = 0;
return 0;
}