diff options
author | Stef Walter <stef@memberwebs.com> | 2006-03-29 04:13:23 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-03-29 04:13:23 +0000 |
commit | 26a1ea1de4e91abc69c291374e12abbf3ad72130 (patch) | |
tree | 20aa90e16dc24cea3e4457534ed063bcc5c7eef6 /tools/sockin.c | |
parent | fd9f86dd89a675a3e8a3255acf3e8349b166aff7 (diff) |
Make command mode work in sockin.
Diffstat (limited to 'tools/sockin.c')
-rw-r--r-- | tools/sockin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sockin.c b/tools/sockin.c index 946b5d3..3f969bc 100644 --- a/tools/sockin.c +++ b/tools/sockin.c @@ -169,7 +169,7 @@ main (int argc, char* argv[]) } /* And duplicate our socket onto stdout */ - dup2 (1, sock); + dup2 (sock, 1); execvp (args[0], args); err (1, "couldn't execute program: %s", args[0]); |