projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd9393
)
Add cast to addr argument to bind()
author
John Carr
<jfc@mit.edu>
Sun, 23 Feb 1992 12:32:28 +0000
(12:32 +0000)
committer
John Carr
<jfc@mit.edu>
Sun, 23 Feb 1992 12:32:28 +0000
(12:32 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2249
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/popper/pop_init.c
patch
|
blob
|
history
diff --git
a/src/appl/popper/pop_init.c
b/src/appl/popper/pop_init.c
index 1c10f61f18e3c0c0a09ef5baf8b1397824f90613..b9e0ecfc930f69b3a4bd8447a47819cc5f03119b 100644
(file)
--- a/
src/appl/popper/pop_init.c
+++ b/
src/appl/popper/pop_init.c
@@
-140,7
+140,7
@@
char ** argmessage;
}
#endif
sin.sin_port = spr->s_port;
- if (bind(sock, &sin, sizeof(sin))) {
+ if (bind(sock,
(struct sockaddr *)
&sin, sizeof(sin))) {
syslog(LOG_ERR, "bind: %m");
exit(3);
}