Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
885448d
)
Fix const
author
Martin Pool
<mbp@samba.org>
Thu, 24 Jan 2002 04:07:07 +0000
(
04:07
+0000)
committer
Martin Pool
<mbp@samba.org>
Thu, 24 Jan 2002 04:07:07 +0000
(
04:07
+0000)
socket.c
patch
|
blob
|
blame
|
history
diff --git
a/socket.c
b/socket.c
index
2735317
..
eb1ab3f
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-42,7
+42,7
@@
static int lookup_name(const struct sockaddr_storage *ss,
static int check_name(const struct sockaddr_storage *ss,
socklen_t ss_len,
static int check_name(const struct sockaddr_storage *ss,
socklen_t ss_len,
- c
onst c
har *name_buf,
+ char *name_buf,
const char *port_buf);
/* Establish a proxy connection on an open socket to a web roxy by
const char *port_buf);
/* Establish a proxy connection on an open socket to a web roxy by
@@
-705,7
+705,7
@@
static int lookup_name(const struct sockaddr_storage *ss,
* we don't abort the connection but just emit a warning. */
static int check_name(const struct sockaddr_storage *ss,
socklen_t ss_len,
* we don't abort the connection but just emit a warning. */
static int check_name(const struct sockaddr_storage *ss,
socklen_t ss_len,
- c
onst c
har *name_buf,
+ char *name_buf,
const char *port_buf)
{
struct addrinfo hints, *res, *res0;
const char *port_buf)
{
struct addrinfo hints, *res, *res0;