aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uudecode.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 20:04:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 20:04:27 +0000
commit8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch)
treecf13ce448542a36595264ad53397a0633ffedcc8 /coreutils/uudecode.c
parentce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff)
downloadbusybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz
busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.bz2
busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
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 4c619dec5..c06747622 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -18,7 +18,7 @@ static void read_stduu(FILE *src_stream, FILE *dst_stream)
18{ 18{
19 char *line; 19 char *line;
20 20
21 while ((line = xmalloc_getline(src_stream)) != NULL) { 21 while ((line = xmalloc_fgetline(src_stream)) != NULL) {
22 int encoded_len, str_len; 22 int encoded_len, str_len;
23 char *line_ptr, *dst; 23 char *line_ptr, *dst;
24 24
@@ -151,7 +151,7 @@ int uudecode_main(int argc ATTRIBUTE_UNUSED, char **argv)
151 src_stream = xfopen_stdin(*argv); 151 src_stream = xfopen_stdin(*argv);
152 152
153 /* Search for the start of the encoding */ 153 /* Search for the start of the encoding */
154 while ((line = xmalloc_getline(src_stream)) != NULL) { 154 while ((line = xmalloc_fgetline(src_stream)) != NULL) {
155 void (*decode_fn_ptr)(FILE * src, FILE * dst); 155 void (*decode_fn_ptr)(FILE * src, FILE * dst);
156 char *line_ptr; 156 char *line_ptr;
157 FILE *dst_stream; 157 FILE *dst_stream;