You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
418 B
12 lines
418 B
7 years ago
|
--- ../cache/apt-1.4.7/methods/connect.cc 2017-07-14 07:45:39.000000000 +1000
|
||
|
+++ ./methods/connect.cc 2017-07-20 09:33:48.701839138 +1000
|
||
|
@@ -129,7 +129,7 @@
|
||
|
|
||
|
// Check the socket for an error condition
|
||
|
unsigned int Err;
|
||
|
- unsigned int Len = sizeof(Err);
|
||
|
+ socklen_t Len = sizeof(Err);
|
||
|
if (getsockopt(Fd,SOL_SOCKET,SO_ERROR,&Err,&Len) != 0)
|
||
|
return _error->Errno("getsockopt",_("Failed"));
|
||
|
|