diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/uuencode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/uuencode.c b/toys/posix/uuencode.c index 78d199a9..2323c98d 100644 --- a/toys/posix/uuencode.c +++ b/toys/posix/uuencode.c @@ -58,7 +58,7 @@ void uuencode_main(void) if (j < bytes) x |= (*(in++) & 0x0ff) << (8*(2-j)); out = (x>>((3-j)*6)) & 0x3f; - xputc(m ? j > bytes ? '=' : toybuf[out] : out + 0x20); + xputc(m ? (j > bytes ? '=' : toybuf[out]) : (out ? out + 0x20 : 0x60)); } } xputc('\n'); |