diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-08 21:21:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-08 21:21:10 +0200 |
commit | 80c5b6893d4708b3683ad9a51c990a326a8f1dff (patch) | |
tree | 0c4c3192e77e6afa1a1d47e750a0840d3a4ca60e /mailutils/mail.c | |
parent | b8709032a3fb57b3ec536bdf9b92b526ed63b995 (diff) | |
download | busybox-w32-80c5b6893d4708b3683ad9a51c990a326a8f1dff.tar.gz busybox-w32-80c5b6893d4708b3683ad9a51c990a326a8f1dff.tar.bz2 busybox-w32-80c5b6893d4708b3683ad9a51c990a326a8f1dff.zip |
libbb: nonblock_safe_read->nonblock_immune_read, remove unused param of xmalloc_reads
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r-- | mailutils/mail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mailutils/mail.c b/mailutils/mail.c index 44957016f..66c79471f 100644 --- a/mailutils/mail.c +++ b/mailutils/mail.c | |||
@@ -172,8 +172,8 @@ void FAST_FUNC get_cred_or_die(int fd) | |||
172 | G.user = xstrdup(bb_ask(fd, /* timeout: */ 0, "User: ")); | 172 | G.user = xstrdup(bb_ask(fd, /* timeout: */ 0, "User: ")); |
173 | G.pass = xstrdup(bb_ask(fd, /* timeout: */ 0, "Password: ")); | 173 | G.pass = xstrdup(bb_ask(fd, /* timeout: */ 0, "Password: ")); |
174 | } else { | 174 | } else { |
175 | G.user = xmalloc_reads(fd, /* pfx: */ NULL, /* maxsize: */ NULL); | 175 | G.user = xmalloc_reads(fd, /* maxsize: */ NULL); |
176 | G.pass = xmalloc_reads(fd, /* pfx: */ NULL, /* maxsize: */ NULL); | 176 | G.pass = xmalloc_reads(fd, /* maxsize: */ NULL); |
177 | } | 177 | } |
178 | if (!G.user || !*G.user || !G.pass) | 178 | if (!G.user || !*G.user || !G.pass) |
179 | bb_error_msg_and_die("no username or password"); | 179 | bb_error_msg_and_die("no username or password"); |