projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4 release
[unix-history]
/
usr
/
src
/
old
/
talk
/
talk
/
look_up.c
diff --git
a/usr/src/old/talk/talk/look_up.c
b/usr/src/old/talk/talk/look_up.c
index
36122cd
..
dfe7137
100644
(file)
--- a/
usr/src/old/talk/talk/look_up.c
+++ b/
usr/src/old/talk/talk/look_up.c
@@
-7,7
+7,7
@@
/* from "@(#)look_up.c 5.1 (Berkeley) 6/6/85"; */
#ifndef lint
/* from "@(#)look_up.c 5.1 (Berkeley) 6/6/85"; */
#ifndef lint
-static char sccsid[] = "@(#)look_up.c 6.
2 (Berkeley) 7/29/86
";
+static char sccsid[] = "@(#)look_up.c 6.
3 (Berkeley) 10/17/92
";
#endif not lint
#include "talk_ctl.h"
#endif not lint
#include "talk_ctl.h"
@@
-33,7
+33,8
@@
check_local()
again:
swapresponse(&response);
response.addr.sin_family = AF_INET;
again:
swapresponse(&response);
response.addr.sin_family = AF_INET;
- if (connect(sockt, &response.addr, sizeof(response.addr)) != -1)
+ if (connect(sockt,
+ (struct sockaddr *)&response.addr, sizeof(response.addr)) != -1)
return (1);
if (errno == EINTR)
goto again;
return (1);
if (errno == EINTR)
goto again;
@@
-110,7
+111,7
@@
swapresponse(rsp)
}
#endif
}
#endif
-#if
ndef sun
+#if
def vax
struct ctl_response_sun {
char type;
char answer;
struct ctl_response_sun {
char type;
char answer;