diff options
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) |