[uuencode.c]
     typo in comment
This commit is contained in:
Ben Lindstrom 2002-02-26 18:07:26 +00:00
parent 4a7714a43a
commit e45a2cb2b7
2 changed files with 7 additions and 4 deletions

View File

@ -35,6 +35,9 @@
- markus@cvs.openbsd.org 2002/02/24 16:58:32
[packet.c]
make 'cp' unsigned and merge with 'ucp'; ok stevesk@
- markus@cvs.openbsd.org 2002/02/24 18:31:09
[uuencode.c]
typo in comment
20020225
- (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
@ -7708,4 +7711,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1883 2002/02/26 18:04:38 mouring Exp $
$Id: ChangeLog,v 1.1884 2002/02/26 18:07:26 mouring Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: uuencode.c,v 1.12 2001/03/01 02:27:18 deraadt Exp $ */
/* $OpenBSD: uuencode.c,v 1.13 2002/02/24 18:31:09 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@ -28,7 +28,7 @@
#include "xmalloc.h"
#include "uuencode.h"
RCSID("$OpenBSD: uuencode.c,v 1.12 2001/03/01 02:27:18 deraadt Exp $");
RCSID("$OpenBSD: uuencode.c,v 1.13 2002/02/24 18:31:09 markus Exp $");
int
uuencode(u_char *src, u_int srclength,
@ -50,7 +50,7 @@ uudecode(const char *src, u_char *target, size_t targsize)
;
for (; *p != '\0' && *p != ' ' && *p != '\t'; p++)
;
/* and remote trailing whitespace because __b64_pton needs this */
/* and remove trailing whitespace because __b64_pton needs this */
*p = '\0';
len = __b64_pton(encoded, target, targsize);
xfree(encoded);