X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbind.c;h=e6d959dce56a718ce9166ddcff94cf3bf5edbc94;hb=79a3d2d10ebf29fb4e73716ae1b72fc5d20486a5;hp=108a2393ce05bd6c6a06850bae2e4baacbea754d;hpb=11ee0e1340f95ccb9954e522f6e003b3125eb109;p=gnulib.git diff --git a/lib/bind.c b/lib/bind.c index 108a2393c..e6d959dce 100644 --- a/lib/bind.c +++ b/lib/bind.c @@ -1,6 +1,6 @@ /* bind.c --- wrappers for Windows bind function - Copyright (C) 2008 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 @@ -29,7 +29,7 @@ #undef bind int -rpl_bind (int fd, struct sockaddr *sockaddr, int len) +rpl_bind (int fd, const struct sockaddr *sockaddr, socklen_t len) { SOCKET sock = FD_TO_SOCKET (fd); int r = bind (sock, sockaddr, len);