projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS.stable: log cherry-pick [06c2675]->[1138b90] stdlib: support non-GCC __attribute__
[gnulib.git]
/
lib
/
connect.c
diff --git
a/lib/connect.c
b/lib/connect.c
index
5e7f95a
..
ea03e77
100644
(file)
--- a/
lib/connect.c
+++ b/
lib/connect.c
@@
-1,6
+1,6
@@
/* connect.c --- wrappers for Windows connect function
/* connect.c --- wrappers for Windows connect function
- Copyright (C) 2008
, 2009, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2008
-2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-29,7
+29,7
@@
#undef connect
int
#undef connect
int
-rpl_connect (int fd,
struct sockaddr *sockaddr, in
t len)
+rpl_connect (int fd,
const struct sockaddr *sockaddr, socklen_
t len)
{
SOCKET sock = FD_TO_SOCKET (fd);
int r = connect (sock, sockaddr, len);
{
SOCKET sock = FD_TO_SOCKET (fd);
int r = connect (sock, sockaddr, len);