artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0de62
)
fix pr 1113, fclose() -> pclose(), todo: remote popen()
author
markus
<markus@openbsd.org>
Mon, 6 Mar 2000 20:29:04 +0000
(20:29 +0000)
committer
markus
<markus@openbsd.org>
Mon, 6 Mar 2000 20:29:04 +0000
(20:29 +0000)
usr.bin/ssh/sshd.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/sshd.c
b/usr.bin/ssh/sshd.c
index
236b08c
..
dd57e81
100644
(file)
--- a/
usr.bin/ssh/sshd.c
+++ b/
usr.bin/ssh/sshd.c
@@
-11,7
+11,7
@@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.
89 2000/02/28 19:40:23
markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.
90 2000/03/06 20:29:04
markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@
-2462,7
+2462,7
@@
do_child(const char *command, struct passwd * pw, const char *term,
f = popen(XAUTH_PATH " -q -", "w");
if (f) {
fprintf(f, "add %s %s %s\n", display, auth_proto, auth_data);
-
f
close(f);
+
p
close(f);
} else
fprintf(stderr, "Could not run %s -q -\n", XAUTH_PATH);
}