Commit | Line | Data |
---|---|---|
1 | --- ../cache/apt-1.4.7/methods/connect.cc 2017-07-14 07:45:39.000000000 +1000 | |
2 | +++ ./methods/connect.cc 2017-07-20 09:33:48.701839138 +1000 | |
3 | @@ -129,7 +129,7 @@ | |
4 | ||
5 | // Check the socket for an error condition | |
6 | unsigned int Err; | |
7 | - unsigned int Len = sizeof(Err); | |
8 | + socklen_t Len = sizeof(Err); | |
9 | if (getsockopt(Fd,SOL_SOCKET,SO_ERROR,&Err,&Len) != 0) | |
10 | return _error->Errno("getsockopt",_("Failed")); | |
11 |