aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uudecode.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-03-14 20:33:00 +0000
committerRon Yorston <rmy@pobox.com>2015-03-14 20:33:00 +0000
commita4f58436b78fe59e57620c6e0301f213ee25f273 (patch)
tree8355f724926e605280af2d6f2b1ccc6b1bd02dee /coreutils/uudecode.c
parentba0c36cfcf84efbac6f89e27238e04bb57e9cd45 (diff)
parent49acc1a7618a28d34381cbb7661d7c981fcb238f (diff)
downloadbusybox-w32-a4f58436b78fe59e57620c6e0301f213ee25f273.tar.gz
busybox-w32-a4f58436b78fe59e57620c6e0301f213ee25f273.tar.bz2
busybox-w32-a4f58436b78fe59e57620c6e0301f213ee25f273.zip
Merge branch 'busybox' into merge
Conflicts: coreutils/od_bloaty.c libbb/lineedit.c
Diffstat (limited to 'coreutils/uudecode.c')
-rw-r--r--coreutils/uudecode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index b298fcb95..3f1227306 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -110,10 +110,10 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv)
110 FILE *dst_stream; 110 FILE *dst_stream;
111 int mode; 111 int mode;
112 112
113 if (strncmp(line, "begin-base64 ", 13) == 0) { 113 if (is_prefixed_with(line, "begin-base64 ")) {
114 line_ptr = line + 13; 114 line_ptr = line + 13;
115 decode_fn_ptr = read_base64; 115 decode_fn_ptr = read_base64;
116 } else if (strncmp(line, "begin ", 6) == 0) { 116 } else if (is_prefixed_with(line, "begin ")) {
117 line_ptr = line + 6; 117 line_ptr = line + 6;
118 decode_fn_ptr = read_stduu; 118 decode_fn_ptr = read_stduu;
119 } else { 119 } else {