diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 20:04:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 20:04:27 +0000 |
commit | 8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch) | |
tree | cf13ce448542a36595264ad53397a0633ffedcc8 /networking/sendmail.c | |
parent | ce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff) | |
download | busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.bz2 busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip |
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'networking/sendmail.c')
-rw-r--r-- | networking/sendmail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/sendmail.c b/networking/sendmail.c index 378c4bb2e..973d712b9 100644 --- a/networking/sendmail.c +++ b/networking/sendmail.c | |||
@@ -170,7 +170,7 @@ static int smtp_checkp(const char *fmt, const char *param, int code) | |||
170 | // if code = -1 then just return this number | 170 | // if code = -1 then just return this number |
171 | // if code != -1 then checks whether the number equals the code | 171 | // if code != -1 then checks whether the number equals the code |
172 | // if not equal -> die saying msg | 172 | // if not equal -> die saying msg |
173 | while ((answer = xmalloc_getline(stdin)) != NULL) | 173 | while ((answer = xmalloc_fgetline(stdin)) != NULL) |
174 | if (strlen(answer) <= 3 || '-' != answer[3]) | 174 | if (strlen(answer) <= 3 || '-' != answer[3]) |
175 | break; | 175 | break; |
176 | if (answer) { | 176 | if (answer) { |
@@ -211,7 +211,7 @@ static char *sane(char *str) | |||
211 | static void pop3_checkr(const char *fmt, const char *param, char **ret) | 211 | static void pop3_checkr(const char *fmt, const char *param, char **ret) |
212 | { | 212 | { |
213 | const char *msg = command(fmt, param); | 213 | const char *msg = command(fmt, param); |
214 | char *answer = xmalloc_getline(stdin); | 214 | char *answer = xmalloc_fgetline(stdin); |
215 | if (answer && '+' == *answer) { | 215 | if (answer && '+' == *answer) { |
216 | alarm(0); | 216 | alarm(0); |
217 | if (ret) | 217 | if (ret) |