summaryrefslogtreecommitdiff
path: root/uuencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'uuencode.c')
-rw-r--r--uuencode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/uuencode.c b/uuencode.c
index f3774f1f3..8d79c93f2 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: uuencode.c,v 1.12 2001/03/01 02:27:18 deraadt Exp $ */ 1/* $OpenBSD: uuencode.c,v 1.13 2002/02/24 18:31:09 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -28,7 +28,7 @@
28#include "xmalloc.h" 28#include "xmalloc.h"
29#include "uuencode.h" 29#include "uuencode.h"
30 30
31RCSID("$OpenBSD: uuencode.c,v 1.12 2001/03/01 02:27:18 deraadt Exp $"); 31RCSID("$OpenBSD: uuencode.c,v 1.13 2002/02/24 18:31:09 markus Exp $");
32 32
33int 33int
34uuencode(u_char *src, u_int srclength, 34uuencode(u_char *src, u_int srclength,
@@ -50,7 +50,7 @@ uudecode(const char *src, u_char *target, size_t targsize)
50 ; 50 ;
51 for (; *p != '\0' && *p != ' ' && *p != '\t'; p++) 51 for (; *p != '\0' && *p != ' ' && *p != '\t'; p++)
52 ; 52 ;
53 /* and remote trailing whitespace because __b64_pton needs this */ 53 /* and remove trailing whitespace because __b64_pton needs this */
54 *p = '\0'; 54 *p = '\0';
55 len = __b64_pton(encoded, target, targsize); 55 len = __b64_pton(encoded, target, targsize);
56 xfree(encoded); 56 xfree(encoded);