summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/uuencode.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-02-07 08:54:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-02-07 08:54:17 +0000
commit7b9c7ac8f82e111861bcfdaf5a3291c0d2cd948b (patch)
tree210acae48fdfd728081c13f6c51bcc080c41f3ed /usr.bin/ssh/uuencode.c
parentb3fc6f9f0a3a3472a9af49ace7c1a296bc6d1491 (diff)
indent
Diffstat (limited to 'usr.bin/ssh/uuencode.c')
-rw-r--r--usr.bin/ssh/uuencode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/uuencode.c b/usr.bin/ssh/uuencode.c
index 6ff29e9865f..51bd6df0d65 100644
--- a/usr.bin/ssh/uuencode.c
+++ b/usr.bin/ssh/uuencode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uuencode.c,v 1.8 2000/12/19 23:17:59 markus Exp $ */
+/* $OpenBSD: uuencode.c,v 1.9 2001/02/07 08:54:16 deraadt Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -29,7 +29,7 @@
#include <resolv.h>
-RCSID("$OpenBSD: uuencode.c,v 1.8 2000/12/19 23:17:59 markus Exp $");
+RCSID("$OpenBSD: uuencode.c,v 1.9 2001/02/07 08:54:16 deraadt Exp $");
int
uuencode(u_char *src, u_int srclength,
@@ -63,6 +63,7 @@ dump_base64(FILE *fp, u_char *data, int len)
{
u_char *buf = xmalloc(2*len);
int i, n;
+
n = uuencode(data, len, buf, 2*len);
for (i = 0; i < n; i++) {
fprintf(fp, "%c", buf[i]);