summaryrefslogtreecommitdiffstats
path: root/tools/sockprox.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
committerWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
commitb008274afdbe375b32a7e66dbd073e200f6f0587 (patch)
tree219e239d39cf06be3f03aa82fb572080ac163a15 /tools/sockprox.c
parentLet autogen.sh check the git config (diff)
downloadgnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.xz
gnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.zip
Nuked almost all trailing white space.post-nuke-of-trailing-ws
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
Diffstat (limited to 'tools/sockprox.c')
-rw-r--r--tools/sockprox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/sockprox.c b/tools/sockprox.c
index fe8d320a1..38648f066 100644
--- a/tools/sockprox.c
+++ b/tools/sockprox.c
@@ -15,7 +15,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-/* Hacked by Moritz Schulte <moritz@g10code.com>.
+/* Hacked by Moritz Schulte <moritz@g10code.com>.
Usage example:
@@ -24,10 +24,10 @@
sockprox opens a new local socket (here "mysock"); the whole
traffic between server and client is written to "/tmp/prot" in this
case.
-
+
./sockprox --server /tmp/gpg-PKdD8r/S.gpg-agent.ssh \
--listen mysock --protocol /tmp/prot
-
+
Then, redirect your ssh-agent client to sockprox by setting
SSH_AUTH_SOCK to "mysock".
*/
@@ -441,7 +441,7 @@ run_proxy (void)
/* ? */
out:
-
+
pthread_attr_destroy (&thread_attr);
fclose (protocol_file); /* FIXME, err checking. */