diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-30 20:18:57 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-30 20:18:57 +0000 |
commit | 40b787d54603222746e7d1f503d4d602dc6f9bfb (patch) | |
tree | 19e7369ecb1d110097c896c7e800300361abfc58 /driver.c | |
parent | a468f9459ca49e889ab9d3af60176c638dd78811 (diff) | |
download | fetchmail-40b787d54603222746e7d1f503d4d602dc6f9bfb.tar.gz fetchmail-40b787d54603222746e7d1f503d4d602dc6f9bfb.tar.bz2 fetchmail-40b787d54603222746e7d1f503d4d602dc6f9bfb.zip |
Fix Johan Vromans's bug.
svn path=/trunk/; revision=844
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -444,6 +444,8 @@ char *realname; /* real name of host */ /* leave extra room for reply_hack to play with */ line = realloc(line, strlen(line) + strlen(buf) + HOSTLEN + 1); strcat(line, buf); + if (line[0] == '\r' && line[1] == '\n') + break; } while /* we may need to grab RFC822 continuations */ ((ch = SockPeek(sockfp)) == ' ' || ch == '\t'); |