projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b02232f
)
change a line break to avoid long lines
author
Ken Raeburn
<raeburn@mit.edu>
Tue, 4 Jun 2002 20:56:41 +0000
(20:56 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Tue, 4 Jun 2002 20:56:41 +0000
(20:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14470
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/os/sendto_kdc.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/sendto_kdc.c
b/src/lib/krb5/os/sendto_kdc.c
index 595e2c9d8c8e02b832544dbdf5b1d6f3728341c5..862b85a4b77af92550b3ff8c1b99fec8adca8ebc 100644
(file)
--- a/
src/lib/krb5/os/sendto_kdc.c
+++ b/
src/lib/krb5/os/sendto_kdc.c
@@
-169,8
+169,8
@@
krb5_sendto_kdc (context, message, realm, reply, use_master)
socket will time out, so use connect, send, recv instead of
sendto, recvfrom. The connect here may return an error if
the destination host is known to be unreachable. */
- if (connect(socklist[host],
- addrs.addrs[host]->ai_addr
, addrs.addrs[host]->ai_addr
len) == SOCKET_ERROR) {
+ if (connect(socklist[host],
addrs.addrs[host]->ai_addr,
+ addrs.addrs[host]->ai_addrlen) == SOCKET_ERROR) {
#ifdef DEBUG
perror ("connect");
#endif