projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4fdf77
)
Fix test for accept failure
author
Ken Raeburn
<raeburn@mit.edu>
Wed, 6 Aug 2008 15:54:44 +0000
(15:54 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Wed, 6 Aug 2008 15:54:44 +0000
(15:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20612
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/bsd/krlogind.c
patch
|
blob
|
history
diff --git
a/src/appl/bsd/krlogind.c
b/src/appl/bsd/krlogind.c
index 0a240b33a5fb2ef2406811c812be89a9bf2797cf..cd362a4aa7e8c96ffdcf016e9b23a6d7a8ec81d9 100644
(file)
--- a/
src/appl/bsd/krlogind.c
+++ b/
src/appl/bsd/krlogind.c
@@
-538,7
+538,7
@@
int main(argc, argv)
int child_pid;
fd = accept(s, (struct sockaddr *) &from, &fromlen);
- if (
s
< 0) {
+ if (
fd
< 0) {
if (errno != EINTR)
syslog(LOG_ERR, "accept: %s", error_message(errno));
continue;